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.001861/0.001861, allocations: 120.5 kB / 18.46 MB, free: 4.617 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.00224/0.00224, allocations: 194.6 kB / 21.4 MB, free: 1.684 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.56/1.56, allocations: 225.6 MB / 249.8 MB, free: 3.633 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.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.001517/0.001517, allocations: 55.91 kB / 366.8 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 52.13 MB / 418.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003901/0.1223, allocations: 2.371 MB / 421.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1234, allocations: 0.5842 MB / 421.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1235, allocations: 4 kB / 421.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1237, allocations: 35.59 kB / 421.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.1239, allocations: 79.33 kB / 422 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.1241, allocations: 51.94 kB / 422.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.1244, allocations: 258.8 kB / 422.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.1246, allocations: 64.36 kB / 422.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1248, allocations: 103.6 kB / 422.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1249, allocations: 103.5 kB / 422.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.125, allocations: 16 kB / 422.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.958e-05/0.125, allocations: 20 kB / 422.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.1251, allocations: 43.84 kB / 422.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.1252, allocations: 123.4 kB / 422.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1255, allocations: 246.9 kB / 423 MB, free: 8.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1255, allocations: 4 kB / 423 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1255, allocations: 0 / 423 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1255, allocations: 0 / 423 MB, free: 8.117 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000771/0.1263, allocations: 0.5105 MB / 423.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1264, allocations: 11.89 kB / 423.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.1264, allocations: 32.75 kB / 423.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.1268, allocations: 241.4 kB / 423.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1268, allocations: 24.67 kB / 423.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.1268, allocations: 20.38 kB / 423.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.1273, allocations: 214.2 kB / 424.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1273, allocations: 3.953 kB / 424.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.1273, allocations: 12 kB / 424.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1273, allocations: 7.938 kB / 424.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.1276, allocations: 133.6 kB / 424.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1288, allocations: 0.6978 MB / 424.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1291, allocations: 130.5 kB / 425 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.1292, allocations: 72.81 kB / 425.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1292, allocations: 4 kB / 425.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1293, allocations: 30.56 kB / 425.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.704e-06/0.1293, allocations: 0 / 425.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001904/0.1312, allocations: 0.8923 MB / 426 MB, free: 4.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.1312, allocations: 55.41 kB / 426.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.1315, allocations: 171.2 kB / 426.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1315, allocations: 33.7 kB / 426.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.1316, allocations: 140.4 kB / 426.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.149e-05/0.1317, allocations: 95.2 kB / 426.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.134e-05/0.1318, allocations: 45.7 kB / 426.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.132, allocations: 330.8 kB / 426.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.1321, allocations: 59.97 kB / 427 MB, free: 3.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.1323, allocations: 96.23 kB / 427 MB, free: 3.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.1326, allocations: 172.8 kB / 427.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1326, allocations: 0 / 427.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000475/0.1331, allocations: 250.1 kB / 427.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1331, allocations: 11.94 kB / 427.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1331, allocations: 4.125 kB / 427.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.1333, allocations: 32.83 kB / 427.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.1335, allocations: 51.97 kB / 427.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.135, allocations: 1.481 MB / 429 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1351, allocations: 8 kB / 429 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.1351, allocations: 8.141 kB / 429.1 MB, free: 1.578 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.0001359/0.1353, allocations: 133.8 kB / 429.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.1353, allocations: 31.78 kB / 429.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.1354, allocations: 29.86 kB / 429.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1354, allocations: 7.938 kB / 429.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1354, allocations: 0 / 429.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1354, allocations: 0 / 429.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009868/0.1364, allocations: 0.6441 MB / 429.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1364, allocations: 4 kB / 429.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1366, allocations: 39.97 kB / 429.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.1367, allocations: 40.83 kB / 430 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1367, allocations: 4 kB / 430 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.1381, allocations: 1.485 MB / 431.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1381, allocations: 3.938 kB / 431.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.1387, allocations: 409.1 kB / 431.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.1387, allocations: 96.91 kB / 432 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1388, allocations: 8 kB / 432 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1389, allocations: 16.27 kB / 432 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.139, allocations: 19.92 kB / 432 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.139, allocations: 8 kB / 432 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1391, allocations: 132.8 kB / 432.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1391, allocations: 0 / 432.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1394, allocations: 56 kB / 432.2 MB, free: 14.16 MB / 366.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.00015/0.1396, allocations: 119 kB / 432.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006148/0.1402, allocations: 277.8 kB / 432.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1402, allocations: 0 / 432.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.1405, allocations: 214.5 kB / 432.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.1409, allocations: 52.42 kB / 432.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1422, allocations: 0.6973 MB / 433.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.1426, allocations: 0.7482 MB / 434.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.1427, allocations: 19.44 kB / 434.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1427, allocations: 0 / 434.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.006193/0.1489, allocations: 3.494 MB / 437.8 MB, free: 8.449 MB / 366.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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.838181926868856]