Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.001359/0.001359, 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.001427/0.001427, 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.397/1.397, allocations: 173.4 MB / 201.1 MB, free: 12.66 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.First,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.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_4.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 46.7 kB / 319.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.09506, allocations: 52.16 MB / 371.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003682/0.09874, allocations: 2.244 MB / 373.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.09979, allocations: 0.5454 MB / 374.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.0999, allocations: 4 kB / 374.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.1, allocations: 39.59 kB / 374.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1002, allocations: 79.33 kB / 374.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1004, allocations: 63.86 kB / 374.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.1008, allocations: 278.6 kB / 374.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.1009, allocations: 64.14 kB / 374.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.1012, allocations: 111.6 kB / 375 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1013, allocations: 99.48 kB / 375.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.1014, allocations: 20 kB / 375.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.533e-05/0.1014, allocations: 20 kB / 375.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.1015, allocations: 55.77 kB / 375.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.1016, allocations: 103.5 kB / 375.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.102, allocations: 266.9 kB / 375.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.102, allocations: 0 / 375.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.102, allocations: 0 / 375.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.102, allocations: 0 / 375.5 MB, free: 3.332 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007694/0.1028, allocations: 457.7 kB / 376 MB, free: 2.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1028, allocations: 8.031 kB / 376 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.1028, allocations: 28.75 kB / 376 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.1032, allocations: 190.7 kB / 376.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1032, allocations: 16.88 kB / 376.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.1033, allocations: 28.33 kB / 376.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.1037, allocations: 192.4 kB / 376.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.1037, allocations: 7.984 kB / 376.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1037, allocations: 8 kB / 376.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1037, allocations: 4 kB / 376.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.104, allocations: 137.9 kB / 376.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.1049, allocations: 0.5061 MB / 377.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.1052, allocations: 158.5 kB / 377.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1054, allocations: 88.81 kB / 377.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1054, allocations: 4 kB / 377.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.1054, allocations: 42.59 kB / 377.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.1054, allocations: 4 kB / 377.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00194/0.1074, allocations: 0.9184 MB / 378.3 MB, free: 400 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.1074, allocations: 59.34 kB / 378.4 MB, free: 328 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1076, allocations: 171.2 kB / 378.5 MB, free: 148 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.1076, allocations: 29.7 kB / 378.6 MB, free: 112 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1077, allocations: 141 kB / 378.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.493e-05/0.1078, allocations: 115 kB / 378.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.1079, allocations: 61.64 kB / 378.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1081, allocations: 334.8 kB / 379.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1082, allocations: 75.72 kB / 379.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.1084, allocations: 103.4 kB / 379.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.1088, allocations: 196.1 kB / 379.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1088, allocations: 0 / 379.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005312/0.1093, allocations: 294.8 kB / 379.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1093, allocations: 8 kB / 379.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1093, allocations: 3.984 kB / 379.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.1095, allocations: 40.84 kB / 379.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.1098, allocations: 55.91 kB / 380 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.1114, allocations: 1.618 MB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1115, allocations: 8 kB / 381.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.1116, allocations: 8 kB / 381.6 MB, free: 12.93 MB / 350.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.0001512/0.1117, allocations: 145.7 kB / 381.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.1118, allocations: 27.78 kB / 381.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.1118, allocations: 26.66 kB / 381.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1118, allocations: 4 kB / 381.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1118, allocations: 0 / 381.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1118, allocations: 7.984 kB / 381.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.1129, allocations: 0.6644 MB / 382.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.1129, allocations: 7.938 kB / 382.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.1132, allocations: 59.91 kB / 382.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.1133, allocations: 32.83 kB / 382.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.1134, allocations: 8 kB / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.1146, allocations: 1.354 MB / 383.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1146, allocations: 3.938 kB / 383.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.1153, allocations: 487.4 kB / 384.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.1153, allocations: 20.12 kB / 384.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1154, allocations: 11.94 kB / 384.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.1155, allocations: 16.06 kB / 384.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.1156, allocations: 27.94 kB / 384.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1156, allocations: 8 kB / 384.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.1157, allocations: 124.4 kB / 384.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1157, allocations: 0 / 384.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.1161, allocations: 68 kB / 384.7 MB, free: 9.645 MB / 350.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.0001287/0.1162, allocations: 103.2 kB / 384.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006116/0.1168, allocations: 322.7 kB / 385.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1168, allocations: 4 kB / 385.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.1172, allocations: 238.5 kB / 385.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.1176, allocations: 45.72 kB / 385.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1189, allocations: 0.7298 MB / 386.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.1191, allocations: 142.6 kB / 386.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.969e-05/0.1192, allocations: 26.28 kB / 386.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.1192, allocations: 24.5 kB / 386.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1192, allocations: 3.938 kB / 386.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of Templates: time 0.006952/0.1262, allocations: 2.663 MB / 389 MB, free: 5.305 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.185123555944301]