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.0008062/0.0008062, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001918, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006956/0.0006956, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009173/0.001613, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9895/0.9895, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09008/1.08, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.2522/0.2522, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02131/0.2736, allocations: 13.1 MB / 291.3 MB, free: 7.379 MB / 282.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.663e-06/1.663e-06, allocations: 0 / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.441e-05, allocations: 7.188 kB / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001971/0.001985, allocations: 1.735 MB / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001416/0.002127, allocations: 111.6 kB / 294.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.002169, allocations: 3.938 kB / 294.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.002208, allocations: 19.84 kB / 294.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.002274, allocations: 43.58 kB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.721e-05/0.002331, allocations: 27.95 kB / 294.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.002443, allocations: 131.3 kB / 294.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.002545, allocations: 30.44 kB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.002651, allocations: 79.86 kB / 294.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.002719, allocations: 35.89 kB / 294.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.002743, allocations: 8 kB / 294.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.002759, allocations: 12 kB / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.002779, allocations: 19.88 kB / 294.9 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.002818, allocations: 35.94 kB / 294.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.002941, allocations: 71.72 kB / 295 MB, free: 3.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.002954, allocations: 0 / 295 MB, free: 3.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002954, allocations: 0 / 295 MB, free: 3.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.002967, allocations: 4 kB / 295 MB, free: 3.953 MB / 282.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.0004509/0.003418, allocations: 337.6 kB / 295.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.003473, allocations: 8.031 kB / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.003523, allocations: 20.92 kB / 295.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.003698, allocations: 121.6 kB / 295.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.003711, allocations: 8.609 kB / 295.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.003749, allocations: 24.34 kB / 295.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.003906, allocations: 97.53 kB / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.003925, allocations: 16.11 kB / 295.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.003938, allocations: 4.375 kB / 295.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.003945, allocations: 8.375 kB / 295.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.004007, allocations: 37.36 kB / 295.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.004508, allocations: 367.9 kB / 296 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.004618, allocations: 65.16 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.004643, allocations: 17.72 kB / 296.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.004653, allocations: 4 kB / 296.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.004682, allocations: 34.56 kB / 296.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.004684, allocations: 0 / 296.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002827/0.004966, allocations: 131.2 kB / 296.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.004998, allocations: 81.11 kB / 296.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.145e-05/0.00506, allocations: 120.4 kB / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.00507, allocations: 25.7 kB / 296.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.005121, allocations: 123.8 kB / 296.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.00514, allocations: 27.75 kB / 296.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.005174, allocations: 37.64 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.005247, allocations: 322.8 kB / 297 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.005262, allocations: 19.92 kB / 297 MB, free: 1.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.005306, allocations: 74.81 kB / 297 MB, free: 1.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.158e-05/0.005378, allocations: 104.4 kB / 297.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00538, allocations: 0 / 297.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001217/0.005502, allocations: 127.4 kB / 297.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.00552, allocations: 8 kB / 297.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.005525, allocations: 4 kB / 297.3 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.005644, allocations: 29.8 kB / 297.3 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.005704, allocations: 32.22 kB / 297.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.007108, allocations: 2.313 MB / 299.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.007156, allocations: 15.92 kB / 299.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.007166, allocations: 8 kB / 299.7 MB, free: 14.79 MB / 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.55e-05/0.007251, allocations: 121.8 kB / 299.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.007278, allocations: 7.938 kB / 299.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.007302, allocations: 11.98 kB / 299.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.007305, allocations: 4 kB / 299.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.00731, allocations: 0 / 299.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.007315, allocations: 0 / 299.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.007445, allocations: 89.86 kB / 299.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.007447, allocations: 0 / 299.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.007514, allocations: 19.98 kB / 299.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.00752, allocations: 11.89 kB / 299.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.708e-05/0.007587, allocations: 37.58 kB / 300 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.007595, allocations: 3.984 kB / 300 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008621/0.008457, allocations: 2.318 MB / 302.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.00846, allocations: 7.922 kB / 302.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.008609, allocations: 272.4 kB / 302.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.008617, allocations: 4.125 kB / 302.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.008665, allocations: 4 kB / 302.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.008682, allocations: 11.98 kB / 302.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.008685, allocations: 4 kB / 302.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.751e-05/0.008703, allocations: 24.44 kB / 302.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.008703, allocations: 0 / 302.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001943/0.008897, allocations: 35.95 kB / 302.7 MB, free: 11.59 MB / 298.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.816e-05/0.008966, allocations: 72.42 kB / 302.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.009198, allocations: 298 kB / 303 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.009206, allocations: 0 / 303 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.009324, allocations: 262 kB / 303.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.009546, allocations: 23.98 kB / 303.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.01126, allocations: 314.3 kB / 303.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.378e-05/0.01131, allocations: 71.83 kB / 303.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.889e-05/0.01134, allocations: 8.969 kB / 303.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.01139, allocations: 67.36 kB / 303.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of SimCode: time 1.473e-06/0.01139, allocations: 0 / 303.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of Templates: time 0.003231/0.01462, allocations: 1.85 MB / 305.6 MB, free: 8.559 MB / 298.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 -emit_protected -ignoreHideResult -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.7612866926938295]