Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 54.55 kB / 325.6 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08792/0.08947, allocations: 53.34 MB / 378.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003707/0.09317, allocations: 2.33 MB / 381.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005057/0.09368, allocations: 251.1 kB / 381.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.09379, allocations: 7.938 kB / 381.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.09393, allocations: 43.58 kB / 381.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.09411, allocations: 103.1 kB / 381.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.09428, allocations: 59.92 kB / 381.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.09464, allocations: 314.6 kB / 382 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.09482, allocations: 67.59 kB / 382 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.09496, allocations: 131.5 kB / 382.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.09515, allocations: 111.4 kB / 382.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.09519, allocations: 24 kB / 382.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.09524, allocations: 31.94 kB / 382.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.0953, allocations: 59.81 kB / 382.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.09544, allocations: 115.5 kB / 382.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.09579, allocations: 322.7 kB / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.0958, allocations: 0 / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0958, allocations: 0 / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.0958, allocations: 0 / 382.8 MB, free: 11.78 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.0008399/0.09664, allocations: 0.5015 MB / 383.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.09668, allocations: 12.03 kB / 383.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.09674, allocations: 32.75 kB / 383.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.09705, allocations: 190 kB / 383.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.09708, allocations: 17.03 kB / 383.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.09713, allocations: 28.38 kB / 383.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.09756, allocations: 256.3 kB / 383.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.09758, allocations: 192 / 383.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.0976, allocations: 15.94 kB / 383.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.09761, allocations: 8 kB / 383.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.09793, allocations: 171.8 kB / 384 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000965/0.09889, allocations: 0.6172 MB / 384.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.09933, allocations: 269.2 kB / 384.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.09952, allocations: 121.6 kB / 385 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.09954, allocations: 4 kB / 385 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.09957, allocations: 38.56 kB / 385.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.09957, allocations: 0 / 385.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002624/0.1022, allocations: 1.419 MB / 386.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.1022, allocations: 81.11 kB / 386.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1024, allocations: 164.1 kB / 386.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1024, allocations: 37.7 kB / 386.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1026, allocations: 144.8 kB / 386.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.1027, allocations: 182.4 kB / 387.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1028, allocations: 78.19 kB / 387.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.103, allocations: 338.8 kB / 387.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.1032, allocations: 101 kB / 387.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.1034, allocations: 156.8 kB / 387.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.1039, allocations: 279.1 kB / 388 MB, free: 6.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1039, allocations: 0 / 388 MB, free: 6.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006101/0.1045, allocations: 378 kB / 388.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1045, allocations: 7.938 kB / 388.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1045, allocations: 4 kB / 388.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1045, allocations: 0 / 388.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.1049, allocations: 103.8 kB / 388.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1049, allocations: 0 / 388.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.105, allocations: 12 kB / 388.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.105, allocations: 16 kB / 388.5 MB, free: 5.738 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.0001557/0.1052, allocations: 153.7 kB / 388.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/0.1053, allocations: 35.86 kB / 388.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.197e-05/0.1054, allocations: 41.95 kB / 388.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1054, allocations: 4 kB / 388.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1054, allocations: 0 / 388.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.1054, allocations: 3.984 kB / 388.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.1066, allocations: 0.8253 MB / 389.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.1066, allocations: 4 kB / 389.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.1071, allocations: 99.83 kB / 389.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1071, allocations: 8.062 kB / 389.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1071, allocations: 8 kB / 389.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1071, allocations: 0 / 389.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1071, allocations: 11.88 kB / 389.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.1079, allocations: 0.6412 MB / 390.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.108, allocations: 23.81 kB / 390.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.108, allocations: 8 kB / 390.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.1082, allocations: 11.94 kB / 390.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.1083, allocations: 35.88 kB / 390.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1083, allocations: 8 kB / 390.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1084, allocations: 131.5 kB / 390.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1084, allocations: 0 / 390.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003869/0.1088, allocations: 80 kB / 390.7 MB, free: 3.539 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.0001268/0.1089, allocations: 107.2 kB / 390.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004686/0.1094, allocations: 279.1 kB / 391 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1094, allocations: 0 / 391 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.1096, allocations: 149.8 kB / 391.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.1102, allocations: 76.66 kB / 391.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1117, allocations: 1.002 MB / 392.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.1118, allocations: 168.8 kB / 392.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.1119, allocations: 30.97 kB / 392.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/0.112, allocations: 28.5 kB / 392.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.112, allocations: 0 / 392.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of Templates: time 0.007079/0.1191, allocations: 3.026 MB / 395.5 MB, free: 14.67 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.31790960393846]