Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008652/0.0008652, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008461/0.0008461, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8319/0.8319, allocations: 173.4 MB / 200.4 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] 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.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.954e-05, allocations: 5.516 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002293/0.002312, allocations: 2.111 MB / 320.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003479/0.00266, allocations: 199.3 kB / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.002734, allocations: 8 kB / 320.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.339e-05/0.002797, allocations: 35.64 kB / 320.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.002913, allocations: 63.34 kB / 320.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.003055, allocations: 59.86 kB / 320.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.00323, allocations: 246.7 kB / 321.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.003382, allocations: 82.94 kB / 321.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.003513, allocations: 139.8 kB / 321.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.003613, allocations: 71.78 kB / 321.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.003644, allocations: 24 kB / 321.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.028e-05/0.003664, allocations: 20 kB / 321.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.003696, allocations: 47.81 kB / 321.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.003748, allocations: 79.83 kB / 321.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.003948, allocations: 259.1 kB / 321.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.00395, allocations: 0 / 321.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003951, allocations: 0 / 321.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.003956, allocations: 0 / 321.8 MB, free: 2.934 MB / 282.7 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.0004568/0.004412, allocations: 449.1 kB / 322.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.004453, allocations: 8.922 kB / 322.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.004497, allocations: 58.73 kB / 322.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.004533, allocations: 32.73 kB / 322.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.004691, allocations: 161.5 kB / 322.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.004704, allocations: 16.88 kB / 322.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.004734, allocations: 24.38 kB / 322.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.004979, allocations: 228 kB / 322.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.004992, allocations: 8.141 kB / 322.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.005006, allocations: 12.31 kB / 322.8 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.005014, allocations: 12.12 kB / 322.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.005171, allocations: 127.9 kB / 322.9 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.005891, allocations: 0.7706 MB / 323.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.006047, allocations: 155.7 kB / 323.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.006111, allocations: 54.56 kB / 323.9 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.00612, allocations: 0 / 323.9 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.006139, allocations: 42.5 kB / 324 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 9.12e-07/0.00614, allocations: 0 / 324 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002627/0.006403, allocations: 177.7 kB / 324.1 MB, free: 448 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.006445, allocations: 106.8 kB / 324.2 MB, free: 316 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.006576, allocations: 198.3 kB / 324.4 MB, free: 108 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.006591, allocations: 33.7 kB / 324.5 MB, free: 68 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.006675, allocations: 160.2 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.006709, allocations: 67.42 kB / 324.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.00676, allocations: 49.98 kB / 324.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.006847, allocations: 330.8 kB / 325.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.006908, allocations: 52.47 kB / 325.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.007014, allocations: 155.6 kB / 325.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.007199, allocations: 229.5 kB / 325.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.007202, allocations: 0 / 325.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002402/0.007442, allocations: 249.1 kB / 325.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.007456, allocations: 4 kB / 325.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.007463, allocations: 4 kB / 325.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.007481, allocations: 12.12 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.007604, allocations: 60.34 kB / 325.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.007616, allocations: 11.94 kB / 325.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.007685, allocations: 27.84 kB / 325.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.0077, allocations: 16.77 kB / 325.9 MB, free: 14.54 MB / 298.7 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 9.241e-05/0.007793, allocations: 137.7 kB / 326 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.00783, allocations: 23.84 kB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.007866, allocations: 25.45 kB / 326 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.00787, allocations: 3.938 kB / 326.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.007876, allocations: 4 kB / 326.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007879, allocations: 0 / 326.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.00824, allocations: 387.9 kB / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.008242, allocations: 4 kB / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.008353, allocations: 35.92 kB / 326.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.008358, allocations: 4 kB / 326.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.00837, allocations: 8 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.008373, allocations: 4 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008375, allocations: 0 / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.008652, allocations: 377.1 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.008673, allocations: 19.89 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.008691, allocations: 4 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.008759, allocations: 8.094 kB / 326.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.008779, allocations: 11.98 kB / 326.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.008785, allocations: 8 kB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.782e-05/0.008852, allocations: 136.4 kB / 327 MB, free: 13.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008853, allocations: 0 / 327 MB, free: 13.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.009071, allocations: 55.88 kB / 327.1 MB, free: 13.22 MB / 298.7 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.0004079/0.009479, allocations: 0.9151 MB / 328 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.009648, allocations: 131.8 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.00965, allocations: 0 / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.009696, allocations: 55.91 kB / 328.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.01001, allocations: 35.8 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.01185, allocations: 2.462 MB / 330.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.494e-05/0.01193, allocations: 129.1 kB / 330.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.01199, allocations: 17.95 kB / 330.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.01206, allocations: 52.48 kB / 330.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01206, allocations: 8 kB / 330.9 MB, free: 9.164 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.02771, allocations: 4.472 MB / 335.4 MB, free: 4.836 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/6.665, allocations: 2.922 kB / 335.4 MB, free: 4.836 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.22080554626882]