Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_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.001453/0.001453, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001617/0.001617, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 43.94 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07326/0.07432, allocations: 46.62 MB / 326.7 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00324/0.07761, allocations: 2.134 MB / 328.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003005/0.07792, allocations: 163.3 kB / 329 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.121e-05/0.07803, allocations: 8 kB / 329 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.07818, allocations: 19.86 kB / 329 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.642e-05/0.07826, allocations: 39.62 kB / 329.1 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.07842, allocations: 39.95 kB / 329.1 MB, free: 2.375 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.07862, allocations: 171.2 kB / 329.3 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.07877, allocations: 50.44 kB / 329.3 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.406e-05/0.07883, allocations: 59.78 kB / 329.4 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.194e-05/0.07893, allocations: 71.64 kB / 329.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.07895, allocations: 8 kB / 329.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.709e-05/0.07899, allocations: 8 kB / 329.5 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.07902, allocations: 35.84 kB / 329.5 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.374e-05/0.0791, allocations: 75.55 kB / 329.6 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.07927, allocations: 179.3 kB / 329.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.07929, allocations: 0 / 329.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.0793, allocations: 0 / 329.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.07931, allocations: 3.938 kB / 329.7 MB, free: 1.723 MB / 270.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.000637/0.07995, allocations: 466.7 kB / 330.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.08, allocations: 8.031 kB / 330.2 MB, free: 1.211 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.08006, allocations: 50.73 kB / 330.3 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.08011, allocations: 24.66 kB / 330.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.08034, allocations: 216.1 kB / 330.5 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.08036, allocations: 8.375 kB / 330.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.0804, allocations: 16.38 kB / 330.5 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.08069, allocations: 189.9 kB / 330.7 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.08072, allocations: 4 kB / 330.7 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.08074, allocations: 12 kB / 330.7 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.08075, allocations: 4 kB / 330.7 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.08093, allocations: 95.88 kB / 330.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.08208, allocations: 0.9661 MB / 331.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.08222, allocations: 103.7 kB / 331.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.08228, allocations: 46.75 kB / 331.9 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.0823, allocations: 0 / 331.9 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.08232, allocations: 30.56 kB / 332 MB, free: 15.26 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.08233, allocations: 0 / 332 MB, free: 15.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002696/0.0826, allocations: 133.3 kB / 332.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.08265, allocations: 106.8 kB / 332.2 MB, free: 15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.08284, allocations: 207.8 kB / 332.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.08286, allocations: 29.7 kB / 332.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.08295, allocations: 143.8 kB / 332.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.08299, allocations: 47.34 kB / 332.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.08305, allocations: 53.78 kB / 332.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.08322, allocations: 322.8 kB / 333 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.08329, allocations: 44.44 kB / 333 MB, free: 14.13 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.08347, allocations: 150.5 kB / 333.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.08371, allocations: 197.5 kB / 333.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.08372, allocations: 0 / 333.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002769/0.08401, allocations: 213.8 kB / 333.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.08403, allocations: 8 kB / 333.6 MB, free: 13.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.08404, allocations: 15.92 kB / 333.6 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.08406, allocations: 4.141 kB / 333.6 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.08421, allocations: 51.92 kB / 333.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.08423, allocations: 7.984 kB / 333.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.08434, allocations: 31.67 kB / 333.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.08436, allocations: 12.28 kB / 333.7 MB, free: 13.35 MB / 286.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 9.129e-05/0.08446, allocations: 141.7 kB / 333.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.08453, allocations: 15.81 kB / 333.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.08458, allocations: 20.92 kB / 333.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.08458, allocations: 4 kB / 333.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.08459, allocations: 0 / 333.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.0846, allocations: 3.938 kB / 333.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.085, allocations: 237.5 kB / 334.1 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.08501, allocations: 0 / 334.1 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.08516, allocations: 35.92 kB / 334.1 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.08517, allocations: 4 kB / 334.1 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.08519, allocations: 4 kB / 334.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.08519, allocations: 0 / 334.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0852, allocations: 0 / 334.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.08547, allocations: 393.7 kB / 334.5 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.08553, allocations: 96.92 kB / 334.6 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.08556, allocations: 8 kB / 334.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.08571, allocations: 4 kB / 334.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.08573, allocations: 11.92 kB / 334.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.08575, allocations: 4 kB / 334.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.08586, allocations: 145.5 kB / 334.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08586, allocations: 0 / 334.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003514/0.08622, allocations: 40 kB / 334.8 MB, free: 12.11 MB / 286.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.0004941/0.08672, allocations: 0.9183 MB / 335.8 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.08691, allocations: 116.5 kB / 335.9 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.08692, allocations: 128 / 335.9 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.08698, allocations: 43.92 kB / 335.9 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.0875, allocations: 19.94 kB / 335.9 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.08982, allocations: 2.667 MB / 338.6 MB, free: 8.152 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.09007, allocations: 0.7206 MB / 339.3 MB, free: 7.406 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.068e-05/0.09015, allocations: 17.95 kB / 339.3 MB, free: 7.387 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.09023, allocations: 51.42 kB / 339.4 MB, free: 7.336 MB / 286.1 MB Notification: Performance of SimCode: time 3.5e-07/0.09023, allocations: 3.938 kB / 339.4 MB, free: 7.332 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.1024, allocations: 3.231 MB / 342.6 MB, free: 4.066 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.1027, allocations: 210.7 kB / 342.8 MB, free: 3.809 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.78, allocations: 0 / 342.8 MB, free: 3.809 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches