Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.00138/0.00138, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.00185/0.00185, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.52/1.52, allocations: 230.2 MB / 255.1 MB, free: 15.38 MB / 206.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.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.89 kB / 374.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1121, allocations: 53.32 MB / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003905/0.116, allocations: 2.385 MB / 430.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1171, allocations: 0.6427 MB / 430.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1172, allocations: 4 kB / 430.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.1174, allocations: 43.58 kB / 430.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.1176, allocations: 79.33 kB / 431 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1178, allocations: 67.86 kB / 431 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.1181, allocations: 274.7 kB / 431.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.1183, allocations: 70.77 kB / 431.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1186, allocations: 115.6 kB / 431.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.1187, allocations: 119.4 kB / 431.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.1188, allocations: 23.94 kB / 431.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.215e-05/0.1188, allocations: 24 kB / 431.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.1189, allocations: 47.78 kB / 431.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.119, allocations: 131.4 kB / 431.8 MB, free: 492 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.1194, allocations: 270.8 kB / 432.1 MB, free: 220 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1194, allocations: 0 / 432.1 MB, free: 220 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1194, allocations: 0 / 432.1 MB, free: 220 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1194, allocations: 0 / 432.1 MB, free: 220 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008139/0.1202, allocations: 0.5299 MB / 432.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1202, allocations: 8.031 kB / 432.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.1204, allocations: 44.73 kB / 432.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.1208, allocations: 244.7 kB / 432.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1208, allocations: 12.81 kB / 432.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.1208, allocations: 28.33 kB / 433 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.1212, allocations: 203.5 kB / 433.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1212, allocations: 0 / 433.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1213, allocations: 8 kB / 433.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.1213, allocations: 8 kB / 433.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.1216, allocations: 141.7 kB / 433.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009978/0.1226, allocations: 0.6192 MB / 433.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.1229, allocations: 172.3 kB / 434.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.1231, allocations: 96.81 kB / 434.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1231, allocations: 0 / 434.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.1231, allocations: 42.56 kB / 434.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 9.41e-07/0.1231, allocations: 0 / 434.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002062/0.1252, allocations: 1.066 MB / 435.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.1253, allocations: 63.28 kB / 435.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.1254, allocations: 182.3 kB / 435.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1255, allocations: 29.7 kB / 435.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1256, allocations: 144.8 kB / 435.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1257, allocations: 123 kB / 435.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1258, allocations: 53.7 kB / 435.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1259, allocations: 330.8 kB / 436.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.1261, allocations: 67.97 kB / 436.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.1263, allocations: 106.8 kB / 436.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.1266, allocations: 200.1 kB / 436.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1266, allocations: 0 / 436.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005265/0.1272, allocations: 291.2 kB / 436.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1272, allocations: 4 kB / 436.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1272, allocations: 0 / 436.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.1274, allocations: 48.89 kB / 436.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.1276, allocations: 59.84 kB / 437 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.1293, allocations: 1.736 MB / 438.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1294, allocations: 8.031 kB / 438.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1294, allocations: 12.19 kB / 438.7 MB, free: 9.121 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.1296, allocations: 137.8 kB / 438.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.1296, allocations: 31.86 kB / 438.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.677e-05/0.1297, allocations: 30.64 kB / 438.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1297, allocations: 8 kB / 438.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1297, allocations: 4 kB / 438.9 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1297, allocations: 0 / 438.9 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.1309, allocations: 0.7776 MB / 439.7 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1309, allocations: 0 / 439.7 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.1312, allocations: 67.89 kB / 439.8 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.1313, allocations: 32.83 kB / 439.8 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1313, allocations: 8 kB / 439.8 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.1327, allocations: 1.485 MB / 441.3 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1327, allocations: 3.984 kB / 441.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.1335, allocations: 482.7 kB / 441.8 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.1335, allocations: 96.97 kB / 441.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1336, allocations: 8 kB / 441.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1337, allocations: 15.94 kB / 441.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.1338, allocations: 24.02 kB / 441.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.1338, allocations: 11.98 kB / 441.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1339, allocations: 136.3 kB / 442.1 MB, free: 5.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1339, allocations: 0 / 442.1 MB, free: 5.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.1343, allocations: 64 kB / 442.1 MB, free: 5.434 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001458/0.1344, allocations: 111.2 kB / 442.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.135, allocations: 331.2 kB / 442.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.135, allocations: 0 / 442.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.1354, allocations: 226.5 kB / 442.8 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.1358, allocations: 56.39 kB / 442.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.1372, allocations: 0.7617 MB / 443.6 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.1376, allocations: 0.7603 MB / 444.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.1377, allocations: 23.44 kB / 444.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1377, allocations: 0 / 444.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of Templates: time 0.2005/0.3382, allocations: 3.913 MB / 448.3 MB, free: 24.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.730476215947419]