Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",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.00105/0.00105, allocations: 104.1 kB / 17.58 MB, free: 5.555 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.001044/0.001044, allocations: 192.1 kB / 18.51 MB, free: 4.637 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.187/1.187, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001159/0.001159, allocations: 51.92 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07372/0.07489, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003174/0.0781, allocations: 2.239 MB / 329.6 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004512/0.07857, allocations: 195.3 kB / 329.8 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.07874, allocations: 11.94 kB / 329.8 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.747e-05/0.07884, allocations: 35.64 kB / 329.9 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.07901, allocations: 59.42 kB / 329.9 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.0792, allocations: 55.88 kB / 330 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.07944, allocations: 243 kB / 330.2 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.0797, allocations: 106.9 kB / 330.3 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.07982, allocations: 87.72 kB / 330.4 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.07996, allocations: 99.55 kB / 330.5 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.08001, allocations: 20 kB / 330.5 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.08006, allocations: 28 kB / 330.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.08011, allocations: 43.84 kB / 330.6 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.08022, allocations: 115.5 kB / 330.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.08047, allocations: 259 kB / 330.9 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.08048, allocations: 0 / 330.9 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.08049, allocations: 0 / 330.9 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.0805, allocations: 0 / 330.9 MB, free: 0.7812 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006678/0.08117, allocations: 0.5032 MB / 331.5 MB, free: 232 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.08121, allocations: 8.031 kB / 331.5 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.08128, allocations: 62.67 kB / 331.5 MB, free: 152 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.08133, allocations: 24.66 kB / 331.5 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.08154, allocations: 224 kB / 331.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.08157, allocations: 16.94 kB / 331.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.08162, allocations: 24.38 kB / 331.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.08197, allocations: 232.8 kB / 332 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.08199, allocations: 3.938 kB / 332 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.08202, allocations: 12 kB / 332 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.08203, allocations: 4 kB / 332.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.08226, allocations: 140.9 kB / 332.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.08333, allocations: 0.8593 MB / 333 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.08357, allocations: 163.8 kB / 333.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.08368, allocations: 62.5 kB / 333.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.0837, allocations: 4 kB / 333.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.08374, allocations: 38.5 kB / 333.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.08375, allocations: 0 / 333.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003446/0.0841, allocations: 165.7 kB / 333.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.08416, allocations: 114.7 kB / 333.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.08433, allocations: 198.6 kB / 333.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.08436, allocations: 29.7 kB / 333.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.08445, allocations: 159.8 kB / 334 MB, free: 13.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.0845, allocations: 67.03 kB / 334 MB, free: 13.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.08457, allocations: 49.98 kB / 334.1 MB, free: 13.37 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.08468, allocations: 330.8 kB / 334.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/0.08478, allocations: 52.53 kB / 334.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.08491, allocations: 146.8 kB / 334.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.08516, allocations: 234.1 kB / 334.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.08517, allocations: 0 / 334.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003293/0.0855, allocations: 249.3 kB / 335.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.08553, allocations: 4 kB / 335.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.08554, allocations: 7.938 kB / 335.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.08556, allocations: 8 kB / 335.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.08576, allocations: 59.91 kB / 335.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.08578, allocations: 7.938 kB / 335.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.08592, allocations: 27.69 kB / 335.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.08595, allocations: 16 kB / 335.2 MB, free: 12.14 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 (33): * Single equations (assignments): 33 * 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.0001049/0.08606, allocations: 133.9 kB / 335.3 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.08613, allocations: 23.75 kB / 335.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.08619, allocations: 25.39 kB / 335.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.08619, allocations: 0 / 335.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.0862, allocations: 4 kB / 335.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.08621, allocations: 0 / 335.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.0867, allocations: 424.9 kB / 335.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.08671, allocations: 4.031 kB / 335.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.0869, allocations: 39.92 kB / 335.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.08691, allocations: 4 kB / 335.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.08694, allocations: 4 kB / 335.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.08695, allocations: 4 kB / 335.8 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.08695, allocations: 0 / 335.8 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.0873, allocations: 384.2 kB / 336.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.08737, allocations: 96.95 kB / 336.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.0874, allocations: 4 kB / 336.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.08754, allocations: 4 kB / 336.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.08757, allocations: 15.92 kB / 336.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.08759, allocations: 12 kB / 336.4 MB, free: 10.87 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.08769, allocations: 144.3 kB / 336.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0877, allocations: 0 / 336.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.08805, allocations: 55.84 kB / 336.5 MB, free: 10.67 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.0005584/0.08862, allocations: 0.9014 MB / 337.5 MB, free: 9.734 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.08886, allocations: 143.7 kB / 337.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.08887, allocations: 0 / 337.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.89e-05/0.08895, allocations: 56.73 kB / 337.6 MB, free: 9.539 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.08937, allocations: 36.83 kB / 337.7 MB, free: 9.504 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.0919, allocations: 2.559 MB / 340.2 MB, free: 6.742 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.0922, allocations: 0.7398 MB / 341 MB, free: 5.973 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.904e-05/0.0923, allocations: 17.95 kB / 341 MB, free: 5.953 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.09238, allocations: 63.34 kB / 341.1 MB, free: 5.891 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09239, allocations: 0 / 341.1 MB, free: 5.891 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.1119, allocations: 3.645 MB / 344.7 MB, free: 2.188 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/8.595, allocations: 7.953 kB / 344.7 MB, free: 2.18 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches