Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009802/0.0009802, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009072/0.0009072, allocations: 161 kB / 24.56 MB, free: 12 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.9652/0.9652, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2446/0.2446, allocations: 32.8 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.206e-05, allocations: 5.547 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002221/0.002244, allocations: 1.71 MB / 377.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002685/0.002512, allocations: 103.6 kB / 377.8 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.002571, allocations: 8 kB / 377.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.391e-05/0.002625, allocations: 11.86 kB / 377.8 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.002751, allocations: 39.64 kB / 377.9 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.002883, allocations: 27.95 kB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.003013, allocations: 131.3 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.003135, allocations: 25.16 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.003242, allocations: 79.8 kB / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.003317, allocations: 35.89 kB / 378.2 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.003341, allocations: 8 kB / 378.2 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.77e-05/0.003359, allocations: 12 kB / 378.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.003382, allocations: 23.92 kB / 378.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.003423, allocations: 39.91 kB / 378.2 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.003575, allocations: 79.73 kB / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003578, allocations: 0 / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003578, allocations: 0 / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.003583, allocations: 0 / 378.3 MB, free: 2.352 MB / 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.0004332/0.004016, allocations: 448.3 kB / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.004061, allocations: 8.031 kB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.004114, allocations: 16.89 kB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.004268, allocations: 136.4 kB / 378.9 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.004283, allocations: 16.61 kB / 378.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.004315, allocations: 12.38 kB / 378.9 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.004479, allocations: 119.2 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.004492, allocations: 8.141 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.004504, allocations: 4.375 kB / 379.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.004515, allocations: 8.375 kB / 379.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.004726, allocations: 43.84 kB / 379.1 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.005238, allocations: 0.5217 MB / 379.6 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.005343, allocations: 94.05 kB / 379.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.005374, allocations: 31.48 kB / 379.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.005383, allocations: 4 kB / 379.8 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.005405, allocations: 33.39 kB / 379.8 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.005406, allocations: 0 / 379.8 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003749/0.005781, allocations: 149.1 kB / 380 MB, free: 0.543 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.00582, allocations: 77.11 kB / 380 MB, free: 460 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.005916, allocations: 189.8 kB / 380.2 MB, free: 252 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.005927, allocations: 29.7 kB / 380.2 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.005997, allocations: 166.6 kB / 380.4 MB, free: 44 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.006017, allocations: 31.73 kB / 380.4 MB, free: 12 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.006069, allocations: 35.38 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.006205, allocations: 0.4884 MB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.893e-05/0.006233, allocations: 19.98 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.006301, allocations: 104.8 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.00641, allocations: 136.7 kB / 381.2 MB, free: 15.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.006413, allocations: 0 / 381.2 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001872/0.0066, allocations: 160.7 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.006614, allocations: 4 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.006624, allocations: 12.23 kB / 381.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.00679, allocations: 35.38 kB / 381.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.006858, allocations: 23.92 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.008662, allocations: 3.468 MB / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.008702, allocations: 11.95 kB / 384.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.008709, allocations: 4 kB / 384.9 MB, free: 11.14 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.986e-05/0.008789, allocations: 168.5 kB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.008813, allocations: 8 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.57e-05/0.008829, allocations: 20.12 kB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.00883, allocations: 0 / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008834, allocations: 7.984 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008837, allocations: 0 / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.008974, allocations: 144.5 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.008976, allocations: 3.938 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.00903, allocations: 12 kB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.009108, allocations: 43.3 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.009118, allocations: 8 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.01036, allocations: 3.449 MB / 388.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01036, allocations: 256 / 388.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.01059, allocations: 390.3 kB / 389.2 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.0106, allocations: 15.89 kB / 389.2 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.01061, allocations: 4 kB / 389.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.01065, allocations: 0 / 389.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.01068, allocations: 7.984 kB / 389.2 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.01069, allocations: 11.94 kB / 389.2 MB, free: 6.539 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.734e-05/0.01073, allocations: 131.6 kB / 389.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01073, allocations: 0 / 389.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.01097, allocations: 35.95 kB / 389.4 MB, free: 6.375 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 9.146e-05/0.01106, allocations: 103.2 kB / 389.5 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006818/0.01174, allocations: 407.2 kB / 389.9 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01174, allocations: 0 / 389.9 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.01188, allocations: 371.8 kB / 390.2 MB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.01216, allocations: 32.05 kB / 390.3 MB, free: 5.391 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/0.01279, allocations: 395.9 kB / 390.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.977e-05/0.01284, allocations: 68.09 kB / 390.7 MB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.112e-05/0.01287, allocations: 12.95 kB / 390.7 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.0129, allocations: 12.5 kB / 390.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0129, allocations: 4 kB / 390.7 MB, free: 4.855 MB / 362.7 MB Notification: Performance of Templates: time 0.003288/0.01619, allocations: 1.75 MB / 392.5 MB, free: 3.133 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0326535180211067]