Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001398/0.001398, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001674/0.001674, allocations: 169.6 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9619/0.9619, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2868/0.2868, allocations: 34.25 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.531e-05, allocations: 2.312 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003172/0.003198, allocations: 1.741 MB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003889/0.003587, allocations: 115.5 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.003655, allocations: 0 / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.287e-05/0.003708, allocations: 15.86 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.003844, allocations: 43.62 kB / 327.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.00397, allocations: 19.98 kB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.004137, allocations: 135.2 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.004254, allocations: 30.56 kB / 327.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.004384, allocations: 75.88 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.004473, allocations: 35.89 kB / 327.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.004497, allocations: 8 kB / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/0.004519, allocations: 12 kB / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.004548, allocations: 23.91 kB / 327.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.004592, allocations: 35.92 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.004747, allocations: 91.59 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004749, allocations: 0 / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.00475, allocations: 0 / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.004755, allocations: 0 / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003679/0.005123, allocations: 306.2 kB / 327.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.005157, allocations: 8.031 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.005202, allocations: 20.92 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.005362, allocations: 129.6 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.00538, allocations: 8.609 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.00541, allocations: 20.33 kB / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.005547, allocations: 103.2 kB / 328.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.005571, allocations: 8.125 kB / 328.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.005581, allocations: 4.375 kB / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.005589, allocations: 8.375 kB / 328.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.941e-05/0.005648, allocations: 40.47 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.006125, allocations: 364 kB / 328.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.00624, allocations: 65.16 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.006268, allocations: 21.72 kB / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.006276, allocations: 3.984 kB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.006305, allocations: 38.64 kB / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.006306, allocations: 0 / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003324/0.006639, allocations: 123.2 kB / 328.9 MB, free: 3.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.006676, allocations: 77.11 kB / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.006756, allocations: 126.6 kB / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.00677, allocations: 33.69 kB / 329.1 MB, free: 3.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.006824, allocations: 115.9 kB / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.006848, allocations: 31.7 kB / 329.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.006893, allocations: 33.69 kB / 329.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.007016, allocations: 322.8 kB / 329.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.007034, allocations: 8 kB / 329.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.007092, allocations: 85.28 kB / 329.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.793e-05/0.00719, allocations: 100.4 kB / 329.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.007192, allocations: 0 / 329.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001778/0.00737, allocations: 127 kB / 329.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.007386, allocations: 8 kB / 329.9 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.007393, allocations: 0 / 329.9 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/0.007549, allocations: 33.7 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.007614, allocations: 27.92 kB / 330 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.009028, allocations: 2.326 MB / 332.3 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.916e-05/0.009088, allocations: 16.14 kB / 332.3 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.009095, allocations: 8 kB / 332.3 MB, free: 152 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.447e-05/0.00918, allocations: 121.8 kB / 332.5 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.009225, allocations: 11.92 kB / 332.5 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.009271, allocations: 12.05 kB / 332.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.009273, allocations: 0 / 332.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.009278, allocations: 0 / 332.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.009282, allocations: 0 / 332.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.00946, allocations: 93.81 kB / 332.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.009462, allocations: 4 kB / 332.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.009532, allocations: 19.92 kB / 332.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.458e-05/0.009617, allocations: 25.7 kB / 332.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.00963, allocations: 7.938 kB / 332.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.01096, allocations: 2.305 MB / 334.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.01096, allocations: 7.984 kB / 334.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.01117, allocations: 268.4 kB / 335.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.01118, allocations: 11.89 kB / 335.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.01119, allocations: 3.938 kB / 335.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.01128, allocations: 12.14 kB / 335.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.0113, allocations: 7.984 kB / 335.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.01131, allocations: 4 kB / 335.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.232e-05/0.01133, allocations: 16.84 kB / 335.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01133, allocations: 0 / 335.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003189/0.01165, allocations: 35.95 kB / 335.3 MB, free: 12.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001086/0.01176, allocations: 80.41 kB / 335.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.01206, allocations: 290.2 kB / 335.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.01207, allocations: 0 / 335.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.01223, allocations: 258.3 kB / 335.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.01255, allocations: 32.92 kB / 335.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006817/0.01323, allocations: 327.4 kB / 336.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.489e-05/0.01328, allocations: 79.7 kB / 336.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.01331, allocations: 4.984 kB / 336.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.01337, allocations: 71.36 kB / 336.4 MB, free: 11.72 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01337, allocations: 0 / 336.4 MB, free: 11.72 MB / 314.7 MB Notification: Performance of Templates: time 0.003395/0.01676, allocations: 1.817 MB / 338.2 MB, free: 9.938 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.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.9891675948165357]