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.001774/0.001774, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002145/0.002145, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.48/1.48, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.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.002033/0.002033, allocations: 61.41 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.09483, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00395/0.09878, allocations: 2.254 MB / 381.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1001, allocations: 0.6271 MB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.1003, allocations: 7.938 kB / 381.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1005, allocations: 35.59 kB / 381.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1007, allocations: 75.34 kB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.101, allocations: 63.84 kB / 382 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.1014, allocations: 278.7 kB / 382.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.1016, allocations: 75.23 kB / 382.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.1018, allocations: 119.6 kB / 382.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.102, allocations: 95.48 kB / 382.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.1021, allocations: 20 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.1022, allocations: 28 kB / 382.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.1022, allocations: 51.77 kB / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1023, allocations: 99.53 kB / 382.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.1027, allocations: 274.9 kB / 383 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1027, allocations: 0 / 383 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1027, allocations: 0 / 383 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1027, allocations: 7.938 kB / 383 MB, free: 11.35 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008171/0.1036, allocations: 465.5 kB / 383.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1036, allocations: 11.98 kB / 383.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.1038, allocations: 40.73 kB / 383.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.1041, allocations: 182.8 kB / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1042, allocations: 16.88 kB / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.1042, allocations: 32.33 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.1046, allocations: 196.4 kB / 383.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.1046, allocations: 7.922 kB / 383.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.1046, allocations: 4 kB / 383.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1046, allocations: 11.94 kB / 383.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.1049, allocations: 133.9 kB / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009448/0.1059, allocations: 0.5022 MB / 384.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.1062, allocations: 170.6 kB / 384.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.1064, allocations: 90.84 kB / 384.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1064, allocations: 4 kB / 384.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1064, allocations: 30.56 kB / 384.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.1064, allocations: 0 / 384.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001979/0.1084, allocations: 0.9279 MB / 385.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.1085, allocations: 55.41 kB / 385.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1086, allocations: 166.2 kB / 386 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.1087, allocations: 33.7 kB / 386 MB, free: 8.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1088, allocations: 140.8 kB / 386.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.1089, allocations: 115 kB / 386.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/0.109, allocations: 57.69 kB / 386.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1091, allocations: 326.8 kB / 386.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1093, allocations: 71.97 kB / 386.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.1095, allocations: 115.2 kB / 386.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.1098, allocations: 196.7 kB / 387 MB, free: 7.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1098, allocations: 0 / 387 MB, free: 7.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005412/0.1103, allocations: 287.3 kB / 387.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1104, allocations: 11.94 kB / 387.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1104, allocations: 4.062 kB / 387.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.1106, allocations: 40.84 kB / 387.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.1108, allocations: 59.89 kB / 387.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.1125, allocations: 1.598 MB / 389 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.1126, allocations: 11.98 kB / 389 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.1127, allocations: 8.188 kB / 389.1 MB, free: 4.949 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.0001514/0.1128, allocations: 141.8 kB / 389.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.1129, allocations: 23.86 kB / 389.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.68e-05/0.1129, allocations: 30.59 kB / 389.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1129, allocations: 15.92 kB / 389.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.113, allocations: 4 kB / 389.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.113, allocations: 3.984 kB / 389.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.1141, allocations: 0.6799 MB / 389.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1141, allocations: 0 / 389.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.1144, allocations: 59.91 kB / 390 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.1145, allocations: 32.78 kB / 390 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1146, allocations: 8 kB / 390 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.1159, allocations: 1.355 MB / 391.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1159, allocations: 0 / 391.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.1167, allocations: 487.5 kB / 391.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.1167, allocations: 19.86 kB / 391.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1167, allocations: 4 kB / 391.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1169, allocations: 11.94 kB / 391.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.1169, allocations: 28.23 kB / 391.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1169, allocations: 12.06 kB / 392 MB, free: 1.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.117, allocations: 124.5 kB / 392.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.117, allocations: 0 / 392.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.1174, allocations: 68 kB / 392.1 MB, free: 1.656 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.000139/0.1176, allocations: 103.2 kB / 392.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007122/0.1183, allocations: 334.6 kB / 392.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1183, allocations: 4.125 kB / 392.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.1187, allocations: 234.5 kB / 392.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.1192, allocations: 50.16 kB / 392.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.1205, allocations: 0.7303 MB / 393.6 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.1207, allocations: 146.8 kB / 393.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.213e-05/0.1208, allocations: 18.3 kB / 393.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.1209, allocations: 24.48 kB / 393.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1209, allocations: 0 / 393.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of Templates: time 0.007091/0.1279, allocations: 2.659 MB / 396.4 MB, free: 13.32 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.380314455949701]