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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 107.6 kB / 21.18 MB, free: 0.5859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 215.3 kB / 24.48 MB, free: 3.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 207.7 MB / 235.3 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 54.58 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2457, allocations: 49.16 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003114/0.2488, allocations: 2.114 MB / 398.5 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005035/0.2493, allocations: 197.8 kB / 398.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.2495, allocations: 4.531 kB / 398.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.784e-05/0.2496, allocations: 34.88 kB / 398.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.2498, allocations: 66.28 kB / 398.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.25, allocations: 51.02 kB / 398.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.2502, allocations: 235.3 kB / 399 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.2504, allocations: 77.27 kB / 399.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.2505, allocations: 91.33 kB / 399.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.2507, allocations: 89.28 kB / 399.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.2507, allocations: 20.84 kB / 399.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.188e-05/0.2508, allocations: 25.22 kB / 399.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.2508, allocations: 46.03 kB / 399.4 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.2509, allocations: 92.94 kB / 399.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.2512, allocations: 264.5 kB / 399.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2512, allocations: 0 / 399.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2512, allocations: 0 / 399.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.2512, allocations: 0 / 399.7 MB, free: 6.785 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00065/0.2518, allocations: 442 kB / 400.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2519, allocations: 13.11 kB / 400.2 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.2519, allocations: 59.97 kB / 400.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.252, allocations: 25.2 kB / 400.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.2522, allocations: 162.4 kB / 400.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.2522, allocations: 18.56 kB / 400.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.2522, allocations: 23.44 kB / 400.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.2526, allocations: 234.8 kB / 400.7 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2526, allocations: 13.94 kB / 400.7 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2526, allocations: 13.38 kB / 400.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2526, allocations: 5.906 kB / 400.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.2528, allocations: 131.3 kB / 400.8 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000943/0.2538, allocations: 0.7728 MB / 401.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.254, allocations: 147.4 kB / 401.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.2541, allocations: 61.95 kB / 401.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.2541, allocations: 7.031 kB / 401.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.2541, allocations: 41.97 kB / 401.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.834e-06/0.2541, allocations: 1.281 kB / 401.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003308/0.2544, allocations: 166.1 kB / 402 MB, free: 5.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.2544, allocations: 110.3 kB / 402.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.2546, allocations: 206.6 kB / 402.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2546, allocations: 27.08 kB / 402.4 MB, free: 4.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.2547, allocations: 164.4 kB / 402.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.2547, allocations: 65.67 kB / 402.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.2548, allocations: 52.25 kB / 402.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.2548, allocations: 333 kB / 403 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/0.2549, allocations: 52.23 kB / 403 MB, free: 4.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.255, allocations: 156 kB / 403.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.2552, allocations: 223.5 kB / 403.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2552, allocations: 0.9062 kB / 403.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003081/0.2555, allocations: 248.8 kB / 403.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2556, allocations: 6.875 kB / 403.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2556, allocations: 3.312 kB / 403.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2556, allocations: 5.844 kB / 403.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.2558, allocations: 62.95 kB / 403.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2558, allocations: 8.125 kB / 403.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.2559, allocations: 32.11 kB / 403.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.2559, allocations: 14.23 kB / 403.8 MB, free: 3.668 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 (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 8.185e-05/0.256, allocations: 145.4 kB / 403.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.2561, allocations: 20.53 kB / 403.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.2561, allocations: 29.05 kB / 404 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2561, allocations: 2.281 kB / 404 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2561, allocations: 1.125 kB / 404 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.2561, allocations: 1.062 kB / 404 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.2566, allocations: 379.1 kB / 404.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2566, allocations: 1.906 kB / 404.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.2567, allocations: 42.45 kB / 404.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2567, allocations: 2.312 kB / 404.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.2568, allocations: 6.844 kB / 404.4 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2568, allocations: 6.953 kB / 404.4 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2568, allocations: 1.062 kB / 404.4 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.2571, allocations: 383.1 kB / 404.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.2571, allocations: 15.98 kB / 404.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.2572, allocations: 6.734 kB / 404.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2573, allocations: 2.719 kB / 404.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.2573, allocations: 18.78 kB / 404.8 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2573, allocations: 3.594 kB / 404.8 MB, free: 2.812 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.953e-05/0.2574, allocations: 140.3 kB / 404.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2574, allocations: 4 kB / 404.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.2578, allocations: 53.7 kB / 405 MB, free: 2.703 MB / 318.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.0004603/0.2583, allocations: 0.9082 MB / 405.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.2585, allocations: 141.7 kB / 406 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2585, allocations: 0 / 406 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.305e-05/0.2586, allocations: 54.64 kB / 406.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.2591, allocations: 37.05 kB / 406.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.2616, allocations: 2.562 MB / 408.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.2618, allocations: 127.6 kB / 408.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.848e-05/0.2619, allocations: 20.66 kB / 408.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.773e-05/0.262, allocations: 55.3 kB / 408.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.262, allocations: 1.375 kB / 408.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.2965, allocations: 4.312 MB / 413.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.66, allocations: 7.531 kB / 413.2 MB, free: 13.8 MB / 334.1 MB " [Timeout remaining time 648] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.053581818006933]