Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001692/0.001693, allocations: 120.8 kB / 18.45 MB, free: 4.586 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.001865/0.001865, allocations: 201 kB / 21.4 MB, free: 1.645 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.439/1.439, allocations: 227.4 MB / 251.6 MB, free: 264 kB / 190.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: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 71.81 kB / 365.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09962, allocations: 50.55 MB / 416 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003874/0.1035, allocations: 2.502 MB / 418.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000515/0.1041, allocations: 259 kB / 418.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1042, allocations: 4 kB / 418.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.1044, allocations: 43.52 kB / 418.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1046, allocations: 99.12 kB / 418.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.1048, allocations: 59.92 kB / 419 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.1051, allocations: 314.6 kB / 419.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.1054, allocations: 103.1 kB / 419.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1055, allocations: 123.5 kB / 419.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1057, allocations: 123.5 kB / 419.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.1057, allocations: 24 kB / 419.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.867e-05/0.1058, allocations: 28 kB / 419.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.1059, allocations: 55.78 kB / 419.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.106, allocations: 151.2 kB / 419.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.1064, allocations: 318.6 kB / 420.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1064, allocations: 0 / 420.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1064, allocations: 0 / 420.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1064, allocations: 3.938 kB / 420.2 MB, free: 9.012 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008516/0.1073, allocations: 0.5767 MB / 420.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1073, allocations: 8.031 kB / 420.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.1074, allocations: 36.75 kB / 420.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.1077, allocations: 255.9 kB / 421.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.1077, allocations: 20.94 kB / 421.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.1078, allocations: 24.38 kB / 421.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.1082, allocations: 255.1 kB / 421.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.1082, allocations: 4.188 kB / 421.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.1083, allocations: 15.94 kB / 421.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1083, allocations: 8 kB / 421.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.1086, allocations: 175.8 kB / 421.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.1097, allocations: 0.7463 MB / 422.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.1101, allocations: 276.9 kB / 422.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.1103, allocations: 121.7 kB / 422.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1104, allocations: 4 kB / 422.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.1104, allocations: 42.56 kB / 422.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.1104, allocations: 0 / 422.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002773/0.1132, allocations: 1.716 MB / 424.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.1133, allocations: 81.11 kB / 424.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1135, allocations: 182.3 kB / 424.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1135, allocations: 33.7 kB / 424.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.1136, allocations: 136.8 kB / 424.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.1137, allocations: 186.4 kB / 425.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1139, allocations: 78.27 kB / 425.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.114, allocations: 334.8 kB / 425.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.1142, allocations: 109.1 kB / 425.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.1145, allocations: 157.4 kB / 425.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.1149, allocations: 286.2 kB / 426 MB, free: 2.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1149, allocations: 0 / 426 MB, free: 2.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005257/0.1154, allocations: 369.9 kB / 426.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1155, allocations: 8 kB / 426.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1155, allocations: 3.938 kB / 426.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1155, allocations: 4 kB / 426.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.1159, allocations: 95.91 kB / 426.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.1159, allocations: 11.92 kB / 426.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.116, allocations: 12 kB / 426.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.1161, allocations: 20.06 kB / 426.5 MB, free: 2.242 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001449/0.1162, allocations: 149.8 kB / 426.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.1163, allocations: 35.73 kB / 426.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-05/0.1164, allocations: 45.8 kB / 426.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1164, allocations: 8 kB / 426.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1164, allocations: 0 / 426.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1164, allocations: 0 / 426.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.1177, allocations: 0.948 MB / 427.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1178, allocations: 0 / 427.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.1182, allocations: 99.83 kB / 427.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1182, allocations: 4 kB / 427.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.1182, allocations: 11.94 kB / 427.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1183, allocations: 4 kB / 427.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1183, allocations: 0 / 427.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008326/0.1191, allocations: 0.6397 MB / 428.5 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.1192, allocations: 104.9 kB / 428.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.1192, allocations: 11.98 kB / 428.6 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.1194, allocations: 12 kB / 428.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.1195, allocations: 27.97 kB / 428.6 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1195, allocations: 12 kB / 428.6 MB, free: 24 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1196, allocations: 135.1 kB / 428.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1196, allocations: 0 / 428.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.12, allocations: 80 kB / 428.8 MB, free: 15.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.0001514/0.1202, allocations: 111.2 kB / 428.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.1207, allocations: 291.8 kB / 429.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1207, allocations: 11.94 kB / 429.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.1209, allocations: 148.6 kB / 429.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.1215, allocations: 80.38 kB / 429.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.1231, allocations: 1.012 MB / 430.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.1235, allocations: 0.7764 MB / 431.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.1236, allocations: 30.95 kB / 431.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.1237, allocations: 27.44 kB / 431.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1237, allocations: 0 / 431.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of Templates: time 0.007088/0.1308, allocations: 3.105 MB / 434.4 MB, free: 10.17 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.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: 4.577871047891676]