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.001009/0.001009, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009885/0.0009885, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.96/0.96, allocations: 177.1 MB / 205 MB, free: 5.578 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.2549/0.2549, allocations: 34.26 MB / 295.7 MB, free: 0.75 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 3.016e-06/3.016e-06, allocations: 4 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.138e-05, allocations: 2.312 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001802/0.001823, allocations: 1.706 MB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000226/0.002049, allocations: 107.6 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.002098, allocations: 3.938 kB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.65e-05/0.002144, allocations: 19.86 kB / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.751e-05/0.002232, allocations: 35.64 kB / 379.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.002346, allocations: 23.97 kB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.002455, allocations: 135.3 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.002562, allocations: 25.16 kB / 380.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.002648, allocations: 75.81 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.002711, allocations: 35.89 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.002731, allocations: 8 kB / 380.2 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.002747, allocations: 12 kB / 380.2 MB, free: 488 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.002769, allocations: 23.91 kB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.002806, allocations: 47.91 kB / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.002925, allocations: 79.73 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002927, allocations: 0 / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002928, allocations: 0 / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.002931, allocations: 3.938 kB / 380.3 MB, free: 332 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.0004654/0.003397, allocations: 436.4 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.003432, allocations: 12.03 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.003475, allocations: 20.89 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.0036, allocations: 136.4 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.003611, allocations: 8.609 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.003641, allocations: 16.38 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.003784, allocations: 115.9 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.003797, allocations: 8.125 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.00381, allocations: 8.375 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.003817, allocations: 384 / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.945e-05/0.003876, allocations: 47.84 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.004357, allocations: 0.5256 MB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.802e-05/0.004455, allocations: 86.14 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.004485, allocations: 31.45 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.004493, allocations: 4 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.004513, allocations: 37.39 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 7.42e-07/0.004513, allocations: 0 / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003235/0.004837, allocations: 149.1 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.004868, allocations: 77.11 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.004951, allocations: 193.7 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.004959, allocations: 25.7 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.005014, allocations: 166.6 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.005033, allocations: 31.73 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.005066, allocations: 35.38 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.005166, allocations: 0.4884 MB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.005189, allocations: 11.98 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.005252, allocations: 116.2 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.045e-05/0.005342, allocations: 136.7 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005345, allocations: 0 / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001653/0.00551, allocations: 156.7 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.005524, allocations: 10.03 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005528, allocations: 256 / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.005673, allocations: 43.36 kB / 383.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.005735, allocations: 23.92 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.007326, allocations: 3.468 MB / 386.9 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.007361, allocations: 11.95 kB / 386.9 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.007368, allocations: 8 kB / 386.9 MB, free: 9.129 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 7.125e-05/0.007439, allocations: 168.5 kB / 387.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.007465, allocations: 4 kB / 387.1 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.3e-05/0.007478, allocations: 12 kB / 387.1 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.007479, allocations: 4.094 kB / 387.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.007482, allocations: 4 kB / 387.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.007485, allocations: 7.922 kB / 387.1 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.007611, allocations: 152.5 kB / 387.3 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007613, allocations: 0 / 387.3 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.007663, allocations: 12 kB / 387.3 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-05/0.007734, allocations: 35.36 kB / 387.3 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.007742, allocations: 4 kB / 387.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.008849, allocations: 3.46 MB / 390.8 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.00885, allocations: 0 / 390.8 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.009296, allocations: 394.5 kB / 391.2 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.009304, allocations: 11.89 kB / 391.2 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.683e-06/0.009311, allocations: 0 / 391.2 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.009361, allocations: 8 kB / 391.2 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.009382, allocations: 3.984 kB / 391.2 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.009385, allocations: 7.938 kB / 391.2 MB, free: 4.527 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.126e-05/0.009427, allocations: 135.6 kB / 391.4 MB, free: 4.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009427, allocations: 0 / 391.4 MB, free: 4.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.009647, allocations: 35.95 kB / 391.4 MB, free: 4.359 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 6.979e-05/0.009717, allocations: 95.25 kB / 391.5 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.01002, allocations: 415.2 kB / 391.9 MB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01002, allocations: 0 / 391.9 MB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.01017, allocations: 375.8 kB / 392.3 MB, free: 3.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.01044, allocations: 28.31 kB / 392.3 MB, free: 3.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.01104, allocations: 389.6 kB / 392.7 MB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.674e-05/0.01109, allocations: 68.08 kB / 392.7 MB, free: 2.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003092/0.0114, allocations: 12.95 kB / 392.7 MB, free: 2.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.01144, allocations: 12.5 kB / 392.8 MB, free: 2.844 MB / 362.7 MB Notification: Performance of SimCode: time 1.743e-06/0.01144, allocations: 0 / 392.8 MB, free: 2.844 MB / 362.7 MB Notification: Performance of Templates: time 0.003516/0.01496, allocations: 1.69 MB / 394.4 MB, free: 1.18 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.3498409120365977]