Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001808/0.001808, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 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.00236/0.00236, allocations: 153.9 kB / 24.48 MB, free: 3.469 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.477/1.477, allocations: 173.4 MB / 201.1 MB, free: 12.58 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: 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.0.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.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 50.39 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08908, allocations: 52.16 MB / 371.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003771/0.09285, allocations: 2.321 MB / 373.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005886/0.09344, allocations: 255 kB / 374.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.09355, allocations: 4 kB / 374.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.0937, allocations: 51.5 kB / 374.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.09388, allocations: 87.2 kB / 374.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.09405, allocations: 63.91 kB / 374.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.09442, allocations: 322.5 kB / 374.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.09459, allocations: 75.56 kB / 374.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.09473, allocations: 119.6 kB / 374.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.09492, allocations: 119.4 kB / 375 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.09497, allocations: 24 kB / 375 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.376e-05/0.09502, allocations: 24 kB / 375 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.09508, allocations: 51.84 kB / 375 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.09523, allocations: 127.4 kB / 375.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.0956, allocations: 322.7 kB / 375.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09561, allocations: 4 kB / 375.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09561, allocations: 0 / 375.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.09561, allocations: 0 / 375.5 MB, free: 3.418 MB / 334.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.0008801/0.09649, allocations: 497.6 kB / 376 MB, free: 2.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.09653, allocations: 12.92 kB / 376 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.0966, allocations: 36.75 kB / 376 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.09692, allocations: 186 kB / 376.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.09694, allocations: 21.03 kB / 376.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.097, allocations: 32.31 kB / 376.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.09744, allocations: 256.3 kB / 376.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.09746, allocations: 8.125 kB / 376.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.09749, allocations: 15.94 kB / 376.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.09749, allocations: 4 kB / 376.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.09781, allocations: 167.9 kB / 376.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.09882, allocations: 0.617 MB / 377.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.09926, allocations: 260 kB / 377.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.09944, allocations: 117.7 kB / 377.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.09946, allocations: 4 kB / 377.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.0995, allocations: 35.19 kB / 377.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.493e-06/0.0995, allocations: 0 / 377.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002665/0.1022, allocations: 1.421 MB / 379.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.1022, allocations: 85.11 kB / 379.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1024, allocations: 163.3 kB / 379.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.1024, allocations: 41.64 kB / 379.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1026, allocations: 148.8 kB / 379.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.1027, allocations: 182.3 kB / 379.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1028, allocations: 78.19 kB / 379.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.103, allocations: 334.8 kB / 380.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1032, allocations: 105 kB / 380.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.1034, allocations: 152.8 kB / 380.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.1038, allocations: 290 kB / 380.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1038, allocations: 0 / 380.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005969/0.1044, allocations: 366.1 kB / 381 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1045, allocations: 7.938 kB / 381.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1045, allocations: 0 / 381.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1045, allocations: 7.984 kB / 381.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.1049, allocations: 103.8 kB / 381.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1049, allocations: 4 kB / 381.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.105, allocations: 8 kB / 381.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.105, allocations: 12 kB / 381.2 MB, free: 13.39 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.0001563/0.1052, allocations: 153.8 kB / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.1053, allocations: 35.75 kB / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.604e-05/0.1053, allocations: 38.03 kB / 381.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1053, allocations: 8 kB / 381.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.1054, allocations: 0 / 381.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1054, allocations: 3.984 kB / 381.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.1066, allocations: 0.8366 MB / 382.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1066, allocations: 4 kB / 382.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.1071, allocations: 91.91 kB / 382.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1071, allocations: 0 / 382.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.1071, allocations: 20.05 kB / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1071, allocations: 4 kB / 382.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1071, allocations: 3.938 kB / 382.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.1079, allocations: 0.6373 MB / 383 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.1079, allocations: 19.86 kB / 383 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.108, allocations: 8 kB / 383 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1082, allocations: 15.94 kB / 383.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.1082, allocations: 31.94 kB / 383.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.1083, allocations: 12 kB / 383.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.934e-05/0.1084, allocations: 124.8 kB / 383.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1084, allocations: 4 kB / 383.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.1087, allocations: 76 kB / 383.3 MB, free: 11.2 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.000131/0.1089, allocations: 111.2 kB / 383.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.1093, allocations: 283.1 kB / 383.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1093, allocations: 3.938 kB / 383.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.1096, allocations: 150.8 kB / 383.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.1101, allocations: 64.22 kB / 383.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.1117, allocations: 0.9974 MB / 384.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.1119, allocations: 172.8 kB / 385.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.112, allocations: 38.89 kB / 385.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.1121, allocations: 28.5 kB / 385.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1121, allocations: 0 / 385.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of Templates: time 0.007324/0.1194, allocations: 3.017 MB / 388.2 MB, free: 6.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.362908910959959]