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.001275/0.001275, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001314/0.001314, allocations: 189.2 kB / 20.73 MB, free: 2.336 MB / 14.72 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 1.351/1.351, allocations: 225.6 MB / 249.1 MB, free: 3.574 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001505/0.001505, allocations: 47.92 kB / 365.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/0.09984, allocations: 52.15 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003474/0.1033, allocations: 2.259 MB / 420 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003939/0.1037, allocations: 195.2 kB / 420.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.1038, allocations: 8 kB / 420.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.29e-05/0.1039, allocations: 35.66 kB / 420.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.104, allocations: 59.42 kB / 420.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.1042, allocations: 55.92 kB / 420.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1044, allocations: 227 kB / 420.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.1046, allocations: 86.58 kB / 420.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1047, allocations: 95.64 kB / 420.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1049, allocations: 99.55 kB / 420.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.1049, allocations: 28 kB / 420.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.589e-05/0.105, allocations: 20 kB / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.105, allocations: 51.84 kB / 421 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1051, allocations: 115.4 kB / 421.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.1054, allocations: 254.9 kB / 421.3 MB, free: 9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1054, allocations: 3.938 kB / 421.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1054, allocations: 0 / 421.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1054, allocations: 0 / 421.3 MB, free: 8.996 MB / 350.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.0007574/0.1062, allocations: 0.5184 MB / 421.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1062, allocations: 8.031 kB / 421.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.1063, allocations: 54.73 kB / 421.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.1063, allocations: 24.8 kB / 421.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1066, allocations: 226.3 kB / 422.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1066, allocations: 16.94 kB / 422.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.1066, allocations: 28.38 kB / 422.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.107, allocations: 228.9 kB / 422.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1071, allocations: 7.875 kB / 422.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.1071, allocations: 8 kB / 422.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1071, allocations: 4 kB / 422.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.1073, allocations: 139.8 kB / 422.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1084, allocations: 0.8523 MB / 423.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1087, allocations: 151.7 kB / 423.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.856e-05/0.1088, allocations: 54.88 kB / 423.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.1088, allocations: 0 / 423.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1088, allocations: 54.42 kB / 423.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.51e-07/0.1088, allocations: 0 / 423.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003671/0.1092, allocations: 166.1 kB / 423.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.1092, allocations: 106.8 kB / 424 MB, free: 6.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.1094, allocations: 194.2 kB / 424.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1095, allocations: 33.7 kB / 424.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1096, allocations: 160.1 kB / 424.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.1096, allocations: 67.42 kB / 424.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.1097, allocations: 61.88 kB / 424.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1098, allocations: 330.8 kB / 424.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.1099, allocations: 44.55 kB / 424.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.1101, allocations: 158.8 kB / 425 MB, free: 5.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.1104, allocations: 225.5 kB / 425.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1104, allocations: 4 kB / 425.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003666/0.1107, allocations: 241.2 kB / 425.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.1108, allocations: 10.62 kB / 425.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1108, allocations: 4 kB / 425.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.1108, allocations: 11.94 kB / 425.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.111, allocations: 59.92 kB / 425.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.111, allocations: 15.92 kB / 425.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1112, allocations: 31.72 kB / 425.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1112, allocations: 8 kB / 425.6 MB, free: 4.359 MB / 350.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.0001492/0.1113, allocations: 142.4 kB / 425.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.1114, allocations: 23.8 kB / 425.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.277e-05/0.1115, allocations: 25.39 kB / 425.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1115, allocations: 8 kB / 425.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1115, allocations: 0 / 425.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1115, allocations: 4 kB / 425.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.112, allocations: 420.9 kB / 426.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.112, allocations: 0 / 426.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.1122, allocations: 43.91 kB / 426.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1122, allocations: 96 / 426.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1123, allocations: 12 kB / 426.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1123, allocations: 0 / 426.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1123, allocations: 4 kB / 426.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.1127, allocations: 377.1 kB / 426.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.1127, allocations: 109 kB / 426.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1128, allocations: 4 kB / 426.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1129, allocations: 4 kB / 426.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.1129, allocations: 11.92 kB / 426.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.1129, allocations: 8 kB / 426.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.113, allocations: 140.3 kB / 426.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.113, allocations: 0 / 426.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003566/0.1134, allocations: 55.89 kB / 427 MB, free: 2.875 MB / 350.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.0007298/0.1141, allocations: 0.9016 MB / 427.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.1144, allocations: 141.8 kB / 428 MB, free: 1.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1144, allocations: 4 kB / 428 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.888e-05/0.1145, allocations: 48.39 kB / 428 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.115, allocations: 33.28 kB / 428.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.1179, allocations: 2.573 MB / 430.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.1183, allocations: 0.7358 MB / 431.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.413e-05/0.1184, allocations: 29.88 kB / 431.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.1185, allocations: 51.42 kB / 431.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1185, allocations: 0 / 431.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.1449, allocations: 3.766 MB / 435.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/8.438, allocations: 12.45 kB / 435.2 MB, free: 10.43 MB / 366.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.037304046098143]