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.00113/0.00113, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001127/0.001127, allocations: 169.2 kB / 24.82 MB, free: 9.328 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 1.086/1.086, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2906/0.2906, allocations: 34.27 MB / 296.1 MB, free: 0.7109 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.643e-06/1.643e-06, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.337e-05, allocations: 2.312 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002315/0.002339, allocations: 1.69 MB / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003372/0.002676, allocations: 107.6 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.002753, allocations: 3.938 kB / 380.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.907e-05/0.002812, allocations: 19.86 kB / 380.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.002936, allocations: 39.62 kB / 380.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.003077, allocations: 27.92 kB / 380.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.003213, allocations: 131.3 kB / 380.5 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.003361, allocations: 33.14 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.003485, allocations: 71.88 kB / 380.6 MB, free: 296 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.003571, allocations: 35.89 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.003605, allocations: 8 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.003623, allocations: 11.94 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.108e-05/0.003654, allocations: 23.91 kB / 380.7 MB, free: 216 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.003698, allocations: 43.92 kB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.003841, allocations: 75.73 kB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003843, allocations: 4 kB / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003844, allocations: 0 / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003848, allocations: 0 / 380.8 MB, free: 92 kB / 346.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.0007923/0.00464, allocations: 444.3 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.004689, allocations: 12.03 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.004736, allocations: 20.89 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.004882, allocations: 132.5 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.004897, allocations: 12.55 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.004929, allocations: 16.36 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.005073, allocations: 111.2 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.005087, allocations: 8.141 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.005098, allocations: 8.375 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.005109, allocations: 4.375 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.092e-05/0.00516, allocations: 39.88 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.005705, allocations: 0.5027 MB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.005806, allocations: 86.12 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.005837, allocations: 27.45 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.005846, allocations: 0 / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.005876, allocations: 45.39 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.005877, allocations: 0 / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003605/0.006237, allocations: 136.8 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.006274, allocations: 77.11 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.006366, allocations: 189.8 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.006377, allocations: 29.64 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.006449, allocations: 162.6 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.006471, allocations: 31.73 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.006519, allocations: 39.36 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.006648, allocations: 0.4923 MB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.006665, allocations: 11.98 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.351e-05/0.006728, allocations: 104.8 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.006819, allocations: 132.7 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.006821, allocations: 0 / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001665/0.006988, allocations: 152.7 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007, allocations: 4 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.007007, allocations: 4 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.007156, allocations: 40.08 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.007215, allocations: 19.98 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.008778, allocations: 3.43 MB / 387.3 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.008814, allocations: 7.953 kB / 387.3 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.00882, allocations: 4 kB / 387.3 MB, free: 9.02 MB / 362.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.827e-05/0.008908, allocations: 168.5 kB / 387.4 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.008936, allocations: 11.94 kB / 387.5 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.008955, allocations: 15.98 kB / 387.5 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.008956, allocations: 0 / 387.5 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.00896, allocations: 4 kB / 387.5 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.008965, allocations: 4.062 kB / 387.5 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.009102, allocations: 121.2 kB / 387.6 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.009104, allocations: 4 kB / 387.6 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.009156, allocations: 11.98 kB / 387.6 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.45e-05/0.009241, allocations: 39.3 kB / 387.7 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.00925, allocations: 7.938 kB / 387.7 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.01095, allocations: 3.411 MB / 391.1 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01095, allocations: 3.938 kB / 391.1 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.01116, allocations: 386.3 kB / 391.5 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-06/0.01116, allocations: 7.891 kB / 391.5 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.01117, allocations: 16.12 kB / 391.5 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/0.01122, allocations: 0 / 391.5 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.01124, allocations: 11.92 kB / 391.5 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.01124, allocations: 0 / 391.5 MB, free: 4.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.7e-05/0.01129, allocations: 139.5 kB / 391.6 MB, free: 4.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01129, allocations: 0 / 391.6 MB, free: 4.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.01152, allocations: 35.95 kB / 391.7 MB, free: 4.336 MB / 362.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.0001097/0.01163, allocations: 95.25 kB / 391.8 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.01195, allocations: 407.2 kB / 392.2 MB, free: 3.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01195, allocations: 0 / 392.2 MB, free: 3.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.01211, allocations: 379.6 kB / 392.5 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.01241, allocations: 25.89 kB / 392.5 MB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000688/0.0131, allocations: 403.6 kB / 392.9 MB, free: 2.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.103e-05/0.01315, allocations: 71.83 kB / 393 MB, free: 2.844 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.213e-05/0.01318, allocations: 8.969 kB / 393 MB, free: 2.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.01325, allocations: 86.19 kB / 393.1 MB, free: 2.746 MB / 362.7 MB Notification: Performance of SimCode: time 1.313e-06/0.01326, allocations: 0 / 393.1 MB, free: 2.746 MB / 362.7 MB Notification: Performance of Templates: time 0.003602/0.01686, allocations: 1.811 MB / 394.9 MB, free: 0.9609 MB / 362.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 -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: 3.383548106998205]