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.0009593/0.0009593, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004795/0.004795, allocations: 160 kB / 24.7 MB, free: 8.895 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.8662/0.8662, allocations: 177.2 MB / 205 MB, free: 5.73 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.2292/0.2292, allocations: 34.25 MB / 295.7 MB, free: 0.6914 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.323e-06/1.323e-06, allocations: 0 / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.68e-05, allocations: 8.812 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.15/0.15, allocations: 1.61 MB / 445 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002107/0.1502, allocations: 112.2 kB / 445.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.1502, allocations: 2.875 kB / 445.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.1503, allocations: 14.2 kB / 445.2 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.906e-05/0.1504, allocations: 45.42 kB / 445.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.959e-05/0.1505, allocations: 25.3 kB / 445.2 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.021e-05/0.1505, allocations: 127.2 kB / 445.3 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1506, allocations: 30.12 kB / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.271e-05/0.1507, allocations: 79.67 kB / 445.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.1508, allocations: 34.25 kB / 445.5 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1508, allocations: 11.69 kB / 445.5 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.1508, allocations: 8.562 kB / 445.5 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.1508, allocations: 21.94 kB / 445.5 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.1508, allocations: 41.45 kB / 445.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.151, allocations: 122.6 kB / 445.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.151, allocations: 3.953 kB / 445.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.151, allocations: 2.844 kB / 445.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.151, allocations: 0.5625 kB / 445.7 MB, free: 43.5 MB / 410.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.0002941/0.1513, allocations: 336 kB / 446 MB, free: 43.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1513, allocations: 11.34 kB / 446 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.1513, allocations: 10.61 kB / 446 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1514, allocations: 131.9 kB / 446.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1514, allocations: 12.17 kB / 446.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1515, allocations: 15.77 kB / 446.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1516, allocations: 127.4 kB / 446.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1516, allocations: 6.922 kB / 446.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1516, allocations: 7.156 kB / 446.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1516, allocations: 3.344 kB / 446.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.1517, allocations: 60.75 kB / 446.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.152, allocations: 447.9 kB / 446.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.1521, allocations: 85.27 kB / 446.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.1521, allocations: 22.81 kB / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.1521, allocations: 2.906 kB / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.1522, allocations: 44.22 kB / 447 MB, free: 42.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.1522, allocations: 0 / 447 MB, free: 42.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002952/0.1525, allocations: 151.8 kB / 447.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.1525, allocations: 77.11 kB / 447.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.644e-05/0.1525, allocations: 129.7 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-06/0.1525, allocations: 25.7 kB / 447.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.1526, allocations: 116.7 kB / 447.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.1526, allocations: 33.38 kB / 447.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.1526, allocations: 38.8 kB / 447.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.022e-05/0.1526, allocations: 314.4 kB / 447.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.1526, allocations: 23.77 kB / 447.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.3e-05/0.1527, allocations: 89.38 kB / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.713e-05/0.1527, allocations: 130.4 kB / 448.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1527, allocations: 0 / 448.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001414/0.1529, allocations: 163.7 kB / 448.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.1529, allocations: 5.906 kB / 448.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1529, allocations: 3.219 kB / 448.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/0.153, allocations: 44.66 kB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.154e-05/0.1531, allocations: 20.25 kB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006357/0.1537, allocations: 2.482 MB / 450.8 MB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.1537, allocations: 6.906 kB / 450.8 MB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1537, allocations: 9.938 kB / 450.8 MB, free: 39.13 MB / 410.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 5.478e-05/0.1538, allocations: 131.3 kB / 451 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.1538, allocations: 6.766 kB / 451 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.257e-05/0.1538, allocations: 14.78 kB / 451 MB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-07/0.1538, allocations: 1.5 kB / 451 MB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1538, allocations: 2.906 kB / 451 MB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1538, allocations: 4 kB / 451 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.881e-05/0.1539, allocations: 142 kB / 451.1 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1539, allocations: 0 / 451.1 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.154, allocations: 10.5 kB / 451.1 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.191e-05/0.154, allocations: 37.14 kB / 451.2 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.154, allocations: 7.188 kB / 451.2 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005045/0.1545, allocations: 2.48 MB / 453.7 MB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1545, allocations: 0 / 453.7 MB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1546, allocations: 306.6 kB / 454 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.1547, allocations: 11.8 kB / 454 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-06/0.1547, allocations: 2.844 kB / 454 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-05/0.1547, allocations: 4 kB / 454 MB, free: 36.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.1547, allocations: 10.47 kB / 454 MB, free: 36.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.1547, allocations: 6.781 kB / 454 MB, free: 36.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.961e-05/0.1548, allocations: 93.05 kB / 454.1 MB, free: 35.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1548, allocations: 0 / 454.1 MB, free: 35.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.155, allocations: 37.17 kB / 454.1 MB, free: 35.97 MB / 410.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 6.023e-05/0.155, allocations: 102.2 kB / 454.2 MB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1552, allocations: 299.3 kB / 454.5 MB, free: 35.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1552, allocations: 0 / 454.5 MB, free: 35.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.1553, allocations: 261 kB / 454.8 MB, free: 35.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.1556, allocations: 30.33 kB / 454.8 MB, free: 35.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.156, allocations: 406.9 kB / 455.2 MB, free: 35.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.534e-05/0.156, allocations: 101.8 kB / 455.3 MB, free: 35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.156, allocations: 14.19 kB / 455.3 MB, free: 34.99 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.156, allocations: 0 / 455.3 MB, free: 34.99 MB / 410.7 MB Notification: Performance of Templates: time 0.002273/0.1583, allocations: 2.523 MB / 457.8 MB, free: 34.82 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 5.256267549470067]