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.001736/0.001736, allocations: 75.75 kB / 21.25 MB, free: 0.5352 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.002116/0.002116, allocations: 165.4 kB / 24.5 MB, free: 3.707 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.477/1.477, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 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.001949/0.001949, allocations: 58.16 kB / 325.5 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09688, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003808/0.1007, allocations: 2.332 MB / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005011/0.1012, allocations: 259 kB / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1013, allocations: 7.938 kB / 381.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1014, allocations: 43.58 kB / 381.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.1016, allocations: 91.2 kB / 381.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.1018, allocations: 59.91 kB / 381.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.1021, allocations: 326.4 kB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.1023, allocations: 71.58 kB / 382.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1025, allocations: 123.6 kB / 382.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.1027, allocations: 115.4 kB / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.693e-05/0.1027, allocations: 28 kB / 382.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.37e-05/0.1028, allocations: 24 kB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.1028, allocations: 55.78 kB / 382.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.103, allocations: 123.5 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.1033, allocations: 314.7 kB / 382.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1033, allocations: 4 kB / 382.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1033, allocations: 0 / 382.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1033, allocations: 0 / 382.8 MB, free: 11.49 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.0008282/0.1042, allocations: 0.4976 MB / 383.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1042, allocations: 15.98 kB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.1043, allocations: 32.75 kB / 383.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1046, allocations: 186.1 kB / 383.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.1046, allocations: 25.02 kB / 383.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.1047, allocations: 24.38 kB / 383.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.1051, allocations: 264.3 kB / 383.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1051, allocations: 4.188 kB / 383.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.1051, allocations: 11.94 kB / 383.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1051, allocations: 8 kB / 383.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.1054, allocations: 171.9 kB / 384.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009617/0.1064, allocations: 0.6094 MB / 384.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.1068, allocations: 256.5 kB / 384.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.107, allocations: 121.9 kB / 385 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.107, allocations: 4 kB / 385 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.107, allocations: 42.5 kB / 385.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.107, allocations: 0 / 385.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002615/0.1097, allocations: 1.422 MB / 386.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.1097, allocations: 85.05 kB / 386.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1099, allocations: 171.5 kB / 386.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.1099, allocations: 37.7 kB / 386.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.11, allocations: 140.8 kB / 386.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.1102, allocations: 182.4 kB / 387.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1103, allocations: 78.2 kB / 387.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1104, allocations: 334.8 kB / 387.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.1106, allocations: 105 kB / 387.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.1108, allocations: 156.8 kB / 387.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.1113, allocations: 286.1 kB / 388.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1113, allocations: 0 / 388.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005455/0.1118, allocations: 370 kB / 388.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1118, allocations: 7.938 kB / 388.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1118, allocations: 3.938 kB / 388.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1118, allocations: 4 kB / 388.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.1122, allocations: 95.84 kB / 388.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1122, allocations: 12.05 kB / 388.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1123, allocations: 12 kB / 388.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.1124, allocations: 12 kB / 388.6 MB, free: 5.445 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.0001435/0.1125, allocations: 153.7 kB / 388.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.1126, allocations: 27.8 kB / 388.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.1127, allocations: 37.97 kB / 388.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.1127, allocations: 8 kB / 388.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1127, allocations: 3.984 kB / 388.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1127, allocations: 0 / 388.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.1139, allocations: 0.8306 MB / 389.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1139, allocations: 0 / 389.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.1143, allocations: 99.89 kB / 389.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1143, allocations: 0 / 389.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.1143, allocations: 11.98 kB / 389.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.1143, allocations: 4 kB / 389.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1143, allocations: 3.938 kB / 389.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.1151, allocations: 0.6412 MB / 390.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.1151, allocations: 23.81 kB / 390.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.1152, allocations: 12.06 kB / 390.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.1154, allocations: 19.92 kB / 390.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.1154, allocations: 23.95 kB / 390.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1154, allocations: 12 kB / 390.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1156, allocations: 131.5 kB / 390.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1156, allocations: 0 / 390.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.1159, allocations: 76 kB / 390.7 MB, free: 3.258 MB / 350.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.0001314/0.1161, allocations: 115.1 kB / 390.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004566/0.1165, allocations: 279.1 kB / 391.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1165, allocations: 3.938 kB / 391.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.1167, allocations: 148.6 kB / 391.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.1173, allocations: 60.11 kB / 391.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.1188, allocations: 1.01 MB / 392.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.119, allocations: 164.8 kB / 392.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.1191, allocations: 34.95 kB / 392.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.1192, allocations: 28.5 kB / 392.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1192, allocations: 0 / 392.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of Templates: time 0.007047/0.1262, allocations: 3.02 MB / 395.5 MB, free: 14.4 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/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.321410438045859]