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.001224/0.001224, allocations: 109.4 kB / 17.73 MB, free: 5.324 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.001273/0.001273, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.199/1.199, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001266/0.001267, allocations: 47.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08281/0.08409, allocations: 46.63 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00318/0.08732, allocations: 2.243 MB / 376.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004754/0.08782, allocations: 195.2 kB / 377.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.08797, allocations: 8 kB / 377.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.0881, allocations: 35.64 kB / 377.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.08832, allocations: 63.42 kB / 377.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.08853, allocations: 51.94 kB / 377.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.08881, allocations: 231 kB / 377.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.08907, allocations: 126.5 kB / 377.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.08921, allocations: 87.72 kB / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.08937, allocations: 103.5 kB / 377.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.08943, allocations: 24 kB / 377.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.685e-05/0.08947, allocations: 23.94 kB / 377.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.08952, allocations: 43.84 kB / 377.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.08964, allocations: 115.5 kB / 378 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.08992, allocations: 263.1 kB / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.08993, allocations: 0 / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.08994, allocations: 0 / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.08995, allocations: 0 / 378.2 MB, free: 1.48 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.0007405/0.0907, allocations: 0.507 MB / 378.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.09075, allocations: 8.031 kB / 378.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.09081, allocations: 58.73 kB / 378.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.09087, allocations: 20.75 kB / 378.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.0911, allocations: 223.9 kB / 379 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.09113, allocations: 24.88 kB / 379.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.09118, allocations: 20.38 kB / 379.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.09156, allocations: 232.9 kB / 379.3 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.09159, allocations: 3.938 kB / 379.3 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.09162, allocations: 12 kB / 379.3 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.09163, allocations: 4 kB / 379.3 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.09186, allocations: 135.8 kB / 379.5 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1601/0.252, allocations: 0.8478 MB / 380.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.2522, allocations: 161.1 kB / 380.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.2523, allocations: 61.64 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.2523, allocations: 1.344 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.2523, allocations: 41.19 kB / 380.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.885e-06/0.2523, allocations: 0 / 380.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003381/0.2527, allocations: 167.6 kB / 380.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.2527, allocations: 112.7 kB / 380.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2529, allocations: 203.8 kB / 381 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2529, allocations: 29.86 kB / 381.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.253, allocations: 164.7 kB / 381.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.253, allocations: 62.55 kB / 381.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.2531, allocations: 48.11 kB / 381.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.851e-05/0.2531, allocations: 331.7 kB / 381.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.2532, allocations: 44.19 kB / 381.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.2533, allocations: 156.9 kB / 381.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.2535, allocations: 222.5 kB / 382.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2535, allocations: 1.375 kB / 382.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002905/0.2538, allocations: 244.6 kB / 382.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2538, allocations: 7.359 kB / 382.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2538, allocations: 4.531 kB / 382.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2539, allocations: 8.812 kB / 382.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.2541, allocations: 57.73 kB / 382.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.2541, allocations: 10.3 kB / 382.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.2542, allocations: 33.19 kB / 382.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.2543, allocations: 13.25 kB / 382.4 MB, free: 11.15 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.794e-05/0.2544, allocations: 142.4 kB / 382.6 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/0.2544, allocations: 18.77 kB / 382.6 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.2545, allocations: 24.03 kB / 382.6 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.2545, allocations: 7.391 kB / 382.6 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2545, allocations: 1.953 kB / 382.6 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2545, allocations: 1.703 kB / 382.6 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.255, allocations: 429.1 kB / 383.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.255, allocations: 1.375 kB / 383.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.2552, allocations: 40.42 kB / 383.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2552, allocations: 1.812 kB / 383.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2552, allocations: 7.016 kB / 383.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2552, allocations: 6.25 kB / 383.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2552, allocations: 2.75 kB / 383.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.2556, allocations: 380.6 kB / 383.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.2556, allocations: 95.66 kB / 383.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.2557, allocations: 8.031 kB / 383.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.2558, allocations: 6 kB / 383.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.2558, allocations: 13.25 kB / 383.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.2559, allocations: 5.562 kB / 383.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.207e-05/0.256, allocations: 143.3 kB / 383.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.256, allocations: 0 / 383.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.2563, allocations: 53.22 kB / 383.8 MB, free: 10.15 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.0004255/0.2567, allocations: 0.9133 MB / 384.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.257, allocations: 146.7 kB / 384.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.257, allocations: 0 / 384.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/0.2571, allocations: 53.05 kB / 384.9 MB, free: 9.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.2576, allocations: 32.31 kB / 384.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.2597, allocations: 2.551 MB / 387.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.2599, allocations: 0.7354 MB / 388.2 MB, free: 6.477 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.088e-05/0.26, allocations: 21.09 kB / 388.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.2601, allocations: 58.41 kB / 388.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2601, allocations: 0 / 388.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.2821, allocations: 3.778 MB / 392.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/7.492, allocations: 1.812 kB / 392.1 MB, free: 5.742 MB / 318.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