Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007952/0.0007952, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.002002, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007586/0.0007586, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009301/0.001689, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.01/1.01, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1978/1.208, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1477/0.1477, allocations: 32.35 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02326/0.171, allocations: 12.29 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 267.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.786e-05/4.003e-05, allocations: 2.312 kB / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002983/0.003023, allocations: 1.988 MB / 269.2 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004362, allocations: 0.5384 MB / 269.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.004468, allocations: 4 kB / 269.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.648e-05/0.004545, allocations: 23.73 kB / 269.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.858e-05/0.004633, allocations: 43.62 kB / 269.8 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.004761, allocations: 39.88 kB / 269.8 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.004921, allocations: 159.2 kB / 270 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.005044, allocations: 38.5 kB / 270 MB, free: 3.695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.005205, allocations: 99.72 kB / 270.1 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.005293, allocations: 47.83 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.005315, allocations: 12 kB / 270.2 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.005328, allocations: 12 kB / 270.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.005351, allocations: 19.94 kB / 270.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.005394, allocations: 43.94 kB / 270.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.005554, allocations: 95.61 kB / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-05/0.005571, allocations: 0 / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005572, allocations: 0 / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.005588, allocations: 0 / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004967/0.006085, allocations: 367.9 kB / 270.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.006126, allocations: 12.03 kB / 270.7 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.006193, allocations: 20.92 kB / 270.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.006421, allocations: 137.6 kB / 270.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.006443, allocations: 16.36 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.006478, allocations: 12.38 kB / 270.9 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.006693, allocations: 106.9 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.006709, allocations: 4.172 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.006725, allocations: 12.12 kB / 271 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.006734, allocations: 0 / 271 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.585e-05/0.0068, allocations: 27.98 kB / 271 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.007346, allocations: 299.7 kB / 271.3 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.007502, allocations: 78.53 kB / 271.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.007543, allocations: 32.78 kB / 271.4 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.007567, allocations: 7.984 kB / 271.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.007596, allocations: 30.56 kB / 271.5 MB, free: 2.137 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.294e-06/0.007598, allocations: 4 kB / 271.5 MB, free: 2.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009987/0.008597, allocations: 0.5425 MB / 272 MB, free: 1.531 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.008633, allocations: 55.39 kB / 272.1 MB, free: 1.465 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.008718, allocations: 126.6 kB / 272.2 MB, free: 1.328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.008732, allocations: 29.7 kB / 272.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.008789, allocations: 116.4 kB / 272.4 MB, free: 1.176 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.008833, allocations: 67.41 kB / 272.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.008879, allocations: 33.7 kB / 272.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.008978, allocations: 326.8 kB / 272.8 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.009004, allocations: 27.92 kB / 272.8 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.704e-05/0.009051, allocations: 43.42 kB / 272.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.009126, allocations: 75.31 kB / 272.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.009128, allocations: 0 / 272.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001647/0.009292, allocations: 142.2 kB / 273.1 MB, free: 436 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.009306, allocations: 8 kB / 273.1 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.009312, allocations: 0 / 273.1 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.009426, allocations: 40.92 kB / 273.1 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.00958, allocations: 43.97 kB / 273.1 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009238/0.0105, allocations: 1.438 MB / 274.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.01055, allocations: 4.047 kB / 274.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.01056, allocations: 12.02 kB / 274.6 MB, free: 14.79 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * 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 8.349e-05/0.01064, allocations: 125.7 kB / 274.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.01066, allocations: 11.98 kB / 274.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.01069, allocations: 20.78 kB / 274.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.01069, allocations: 0 / 274.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.0107, allocations: 4.188 kB / 274.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.01071, allocations: 7.984 kB / 274.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.01106, allocations: 336.2 kB / 275.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01106, allocations: 0 / 275.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.01117, allocations: 51.91 kB / 275.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.01118, allocations: 11.89 kB / 275.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.758e-05/0.01126, allocations: 20.84 kB / 275.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.01127, allocations: 7.984 kB / 275.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006114/0.01188, allocations: 1.229 MB / 276.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01188, allocations: 0 / 276.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.01208, allocations: 241.4 kB / 276.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.01209, allocations: 8 kB / 276.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.402e-05/0.01213, allocations: 7.938 kB / 276.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/0.01248, allocations: 15.97 kB / 276.7 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.01248, allocations: 0 / 276.7 MB, free: 12.56 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.293e-05/0.01251, allocations: 30.58 kB / 276.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01251, allocations: 4.062 kB / 276.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000188/0.01269, allocations: 36 kB / 276.7 MB, free: 12.49 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * 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 (16): * Single equations (assignments): 15 * 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 9.075e-05/0.01278, allocations: 80.36 kB / 276.8 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.01305, allocations: 230.2 kB / 277 MB, free: 12.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.01306, allocations: 4 kB / 277.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.01318, allocations: 183.5 kB / 277.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.01337, allocations: 24 kB / 277.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.01562, allocations: 350.3 kB / 277.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.629e-05/0.01568, allocations: 72.22 kB / 277.7 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.36e-05/0.01572, allocations: 9.5 kB / 277.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.01579, allocations: 71.34 kB / 277.7 MB, free: 11.4 MB / 282.7 MB Notification: Performance of SimCode: time 1.193e-06/0.01579, allocations: 0 / 277.7 MB, free: 11.4 MB / 282.7 MB Notification: Performance of Templates: time 0.003729/0.01952, allocations: 1.801 MB / 279.5 MB, free: 9.594 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.879883984103799]