Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 59.91 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.1015, allocations: 53.32 MB / 426.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003651/0.1052, allocations: 2.273 MB / 428.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004482/0.1056, allocations: 195.3 kB / 429.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.1057, allocations: 4 kB / 429.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.866e-05/0.1058, allocations: 39.64 kB / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.106, allocations: 59.42 kB / 429.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.1062, allocations: 59.84 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.1064, allocations: 231 kB / 429.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1067, allocations: 86.59 kB / 429.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1068, allocations: 83.72 kB / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1069, allocations: 107.5 kB / 429.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.107, allocations: 23.94 kB / 429.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.618e-05/0.107, allocations: 20 kB / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.1071, allocations: 51.83 kB / 429.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1072, allocations: 111.5 kB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1075, allocations: 251 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1075, allocations: 0 / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1075, allocations: 0 / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1075, allocations: 0 / 430.2 MB, free: 1.453 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.0007703/0.1082, allocations: 0.5184 MB / 430.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1083, allocations: 8.031 kB / 430.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.899e-05/0.1084, allocations: 58.73 kB / 430.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.1084, allocations: 28.8 kB / 430.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1087, allocations: 228 kB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1087, allocations: 16.94 kB / 431.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.1087, allocations: 28.33 kB / 431.1 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.1091, allocations: 228.8 kB / 431.3 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.1091, allocations: 7.922 kB / 431.3 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.1092, allocations: 12 kB / 431.3 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1092, allocations: 8 kB / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.1094, allocations: 141.9 kB / 431.5 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.1106, allocations: 0.8518 MB / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.1109, allocations: 147.8 kB / 432.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.474e-05/0.111, allocations: 58.56 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.111, allocations: 4 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.111, allocations: 38.5 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.111, allocations: 0 / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003793/0.1114, allocations: 169.8 kB / 432.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.1115, allocations: 110.8 kB / 432.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1117, allocations: 198.7 kB / 433.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1117, allocations: 29.7 kB / 433.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1118, allocations: 164.1 kB / 433.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.1119, allocations: 71.45 kB / 433.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/0.1119, allocations: 49.94 kB / 433.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1121, allocations: 330.8 kB / 433.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-05/0.1122, allocations: 48.55 kB / 433.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.1124, allocations: 158.8 kB / 433.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.1126, allocations: 221.5 kB / 434.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1126, allocations: 0 / 434.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003656/0.113, allocations: 249.5 kB / 434.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.113, allocations: 4 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.113, allocations: 4 kB / 434.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1131, allocations: 8 kB / 434.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.1133, allocations: 59.86 kB / 434.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.1133, allocations: 8.766 kB / 434.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.1134, allocations: 27.8 kB / 434.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.1134, allocations: 16 kB / 434.5 MB, free: 12.8 MB / 366.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.0001438/0.1136, allocations: 141.8 kB / 434.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.246e-05/0.1137, allocations: 23.84 kB / 434.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.1137, allocations: 25.39 kB / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1137, allocations: 3.938 kB / 434.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1137, allocations: 4 kB / 434.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1137, allocations: 0 / 434.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.1143, allocations: 420.8 kB / 435.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1143, allocations: 4.094 kB / 435.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.1145, allocations: 43.97 kB / 435.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1145, allocations: 4 kB / 435.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1145, allocations: 4 kB / 435.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1145, allocations: 4 kB / 435.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1145, allocations: 0 / 435.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.1149, allocations: 389 kB / 435.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.115, allocations: 89.3 kB / 435.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.115, allocations: 8.031 kB / 435.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.1152, allocations: 4 kB / 435.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.1152, allocations: 19.91 kB / 435.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1152, allocations: 8 kB / 435.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1153, allocations: 139.2 kB / 435.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1153, allocations: 0 / 435.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.1157, allocations: 59.89 kB / 435.8 MB, free: 11.32 MB / 366.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.0007479/0.1164, allocations: 0.9103 MB / 436.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.1167, allocations: 139.8 kB / 436.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1167, allocations: 0 / 436.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.1168, allocations: 48.73 kB / 436.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.1173, allocations: 38.98 kB / 437 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.1203, allocations: 2.549 MB / 439.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.1208, allocations: 0.7359 MB / 440.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.1209, allocations: 21.94 kB / 440.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.121, allocations: 59.42 kB / 440.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.121, allocations: 0 / 440.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.1501, allocations: 3.767 MB / 444.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.321/8.471, allocations: 14 kB / 444.1 MB, free: 2.887 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.324289399199188]