Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001904/0.001904, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 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.002215/0.002215, allocations: 148.6 kB / 24.49 MB, free: 3.727 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.407/1.407, allocations: 173.4 MB / 201.1 MB, free: 12.65 MB / 190.1 MB " [Timeout remaining time 179] 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.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.75 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08877, allocations: 52.16 MB / 371.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003596/0.09237, allocations: 2.244 MB / 373.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000982/0.09335, allocations: 0.5493 MB / 374.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.09346, allocations: 7.938 kB / 374.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.09359, allocations: 31.66 kB / 374.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.09375, allocations: 75.34 kB / 374.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.09394, allocations: 59.92 kB / 374.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.09424, allocations: 258.7 kB / 374.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.09439, allocations: 60.48 kB / 374.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.09455, allocations: 103.6 kB / 374.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.0947, allocations: 87.55 kB / 375 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.09473, allocations: 20 kB / 375 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.102e-05/0.09477, allocations: 23.94 kB / 375.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.09482, allocations: 47.84 kB / 375.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.09493, allocations: 95.53 kB / 375.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.09523, allocations: 258.9 kB / 375.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.09524, allocations: 0 / 375.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09524, allocations: 0 / 375.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.09525, allocations: 0 / 375.5 MB, free: 3.402 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007197/0.09597, allocations: 437.8 kB / 375.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.096, allocations: 12.03 kB / 375.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.09605, allocations: 32.73 kB / 375.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.09635, allocations: 186.8 kB / 376.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.09637, allocations: 12.88 kB / 376.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.09642, allocations: 24.38 kB / 376.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.09679, allocations: 211.1 kB / 376.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.09681, allocations: 7.953 kB / 376.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.09683, allocations: 8 kB / 376.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.09684, allocations: 4 kB / 376.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.0971, allocations: 125.9 kB / 376.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009541/0.09806, allocations: 0.5924 MB / 377.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.09833, allocations: 138.5 kB / 377.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.09846, allocations: 64.81 kB / 377.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.09848, allocations: 4 kB / 377.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.09852, allocations: 38.5 kB / 377.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.09852, allocations: 0 / 377.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001568/0.1001, allocations: 0.7351 MB / 378.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.1001, allocations: 63.33 kB / 378.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1003, allocations: 170.2 kB / 378.3 MB, free: 376 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1003, allocations: 29.7 kB / 378.3 MB, free: 340 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1004, allocations: 148.3 kB / 378.5 MB, free: 188 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.1005, allocations: 87.22 kB / 378.6 MB, free: 100 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/0.1006, allocations: 49.7 kB / 378.6 MB, free: 44 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.1008, allocations: 338.8 kB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1009, allocations: 55.98 kB / 379 MB, free: 15.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.1011, allocations: 100.2 kB / 379.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.1014, allocations: 172.1 kB / 379.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1014, allocations: 0 / 379.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005225/0.1019, allocations: 254.1 kB / 379.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1019, allocations: 10.81 kB / 379.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1019, allocations: 4 kB / 379.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.1021, allocations: 28.84 kB / 379.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.1023, allocations: 55.91 kB / 379.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.1036, allocations: 1.359 MB / 381 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.1038, allocations: 11.94 kB / 381 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1038, allocations: 4 kB / 381 MB, free: 13.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.1039, allocations: 134.1 kB / 381.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.104, allocations: 23.8 kB / 381.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.104, allocations: 25.95 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.104, allocations: 0 / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.104, allocations: 4 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.104, allocations: 3.938 kB / 381.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009079/0.1049, allocations: 0.5543 MB / 381.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1049, allocations: 0 / 381.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.1052, allocations: 47.92 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.1053, allocations: 32.83 kB / 381.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1053, allocations: 8 kB / 381.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.1065, allocations: 1.362 MB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/0.1065, allocations: 7.969 kB / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/0.1071, allocations: 401.2 kB / 383.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.1072, allocations: 23.83 kB / 383.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1072, allocations: 8 kB / 383.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.1073, allocations: 4.062 kB / 383.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.1074, allocations: 23.91 kB / 383.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1074, allocations: 12 kB / 383.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1075, allocations: 128.2 kB / 383.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1075, allocations: 0 / 383.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.1078, allocations: 56 kB / 383.8 MB, free: 10.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000113/0.108, allocations: 99.19 kB / 383.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000573/0.1085, allocations: 286.6 kB / 384.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1085, allocations: 0 / 384.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.1088, allocations: 206.5 kB / 384.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1092, allocations: 43.78 kB / 384.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1104, allocations: 0.6776 MB / 385.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.1106, allocations: 138.5 kB / 385.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.1106, allocations: 17.95 kB / 385.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.1107, allocations: 20.5 kB / 385.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1107, allocations: 0 / 385.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of Templates: time 0.006298/0.117, allocations: 2.438 MB / 387.7 MB, free: 6.516 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.195871549076401]