Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 112.9 kB / 17.06 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 43.94 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2348, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00344/0.2383, allocations: 2.103 MB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004004/0.2387, allocations: 159.4 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.2389, allocations: 0 / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.239, allocations: 35.66 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.2392, allocations: 47.58 kB / 402.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.2394, allocations: 39.94 kB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.2396, allocations: 183.2 kB / 402.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.2398, allocations: 58.28 kB / 402.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.2399, allocations: 67.77 kB / 402.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.24, allocations: 75.64 kB / 403 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.24, allocations: 12 kB / 403 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.564e-05/0.2401, allocations: 16 kB / 403 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.2401, allocations: 35.84 kB / 403 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.773e-05/0.2402, allocations: 83.59 kB / 403.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.2404, allocations: 185 kB / 403.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2404, allocations: 0 / 403.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2404, allocations: 0 / 403.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2404, allocations: 4 kB / 403.3 MB, free: 5.723 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005746/0.241, allocations: 454.9 kB / 403.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2411, allocations: 12.03 kB / 403.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.2411, allocations: 50.73 kB / 403.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.2412, allocations: 16.75 kB / 403.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.2414, allocations: 220 kB / 404 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2414, allocations: 12.38 kB / 404 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.2415, allocations: 28.36 kB / 404.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.2417, allocations: 186 kB / 404.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2418, allocations: 3.984 kB / 404.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2418, allocations: 4 kB / 404.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2418, allocations: 8 kB / 404.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.242, allocations: 107.6 kB / 404.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.2431, allocations: 0.9545 MB / 405.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.2432, allocations: 95.69 kB / 405.4 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.2433, allocations: 46.75 kB / 405.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.2433, allocations: 4 kB / 405.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2433, allocations: 42.5 kB / 405.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.2433, allocations: 0 / 405.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002863/0.2436, allocations: 129.8 kB / 405.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.2437, allocations: 110.8 kB / 405.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.2439, allocations: 207.6 kB / 406 MB, free: 2.781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2439, allocations: 29.7 kB / 406 MB, free: 2.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.244, allocations: 139.9 kB / 406.1 MB, free: 2.605 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.244, allocations: 51.3 kB / 406.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.2441, allocations: 53.84 kB / 406.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2442, allocations: 330.8 kB / 406.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.2443, allocations: 36.45 kB / 406.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.2444, allocations: 151.3 kB / 406.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.2446, allocations: 193.6 kB / 406.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2446, allocations: 4 kB / 406.9 MB, free: 1.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002878/0.2449, allocations: 213.1 kB / 407.1 MB, free: 1.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2449, allocations: 10.34 kB / 407.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2449, allocations: 4.406 kB / 407.1 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.245, allocations: 8 kB / 407.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.2451, allocations: 51.91 kB / 407.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2451, allocations: 4 kB / 407.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2452, allocations: 31.62 kB / 407.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.2453, allocations: 16 kB / 407.3 MB, free: 1.352 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.2454, allocations: 129.8 kB / 407.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.2454, allocations: 15.81 kB / 407.4 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.2455, allocations: 24.92 kB / 407.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2455, allocations: 4 kB / 407.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2455, allocations: 0 / 407.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.2455, allocations: 7.938 kB / 407.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.2459, allocations: 241.4 kB / 407.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2459, allocations: 0 / 407.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2461, allocations: 27.98 kB / 407.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2461, allocations: 4 kB / 407.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.2461, allocations: 4 kB / 407.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2461, allocations: 7.938 kB / 407.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2461, allocations: 0 / 407.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.2464, allocations: 389.7 kB / 408.1 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.2465, allocations: 89.19 kB / 408.2 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.2465, allocations: 12.06 kB / 408.2 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2466, allocations: 0 / 408.2 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.2467, allocations: 15.91 kB / 408.2 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2467, allocations: 4 kB / 408.2 MB, free: 300 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.2468, allocations: 157.5 kB / 408.4 MB, free: 144 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2468, allocations: 0 / 408.4 MB, free: 144 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.2472, allocations: 39.94 kB / 408.4 MB, free: 104 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000519/0.2477, allocations: 0.9255 MB / 409.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.2479, allocations: 107.8 kB / 409.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2479, allocations: 0 / 409.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.325e-05/0.248, allocations: 39.92 kB / 409.5 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.2485, allocations: 28.72 kB / 409.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.2511, allocations: 2.624 MB / 412.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.2514, allocations: 0.7242 MB / 412.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.989e-05/0.2515, allocations: 21.94 kB / 412.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.2516, allocations: 51.42 kB / 412.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2516, allocations: 0 / 412.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.2725, allocations: 3.494 MB / 416.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.619, allocations: 10.62 kB / 416.4 MB, free: 7.941 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches