Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.0009853/0.0009853, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001221/0.001221, 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 1.035/1.035, allocations: 177.1 MB / 205 MB, free: 5.641 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.2823/0.2823, allocations: 34.25 MB / 295.7 MB, free: 0.7734 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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.899e-05, allocations: 6.25 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002003/0.002022, allocations: 1.897 MB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003005/0.002323, allocations: 151.4 kB / 380.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.002383, allocations: 4 kB / 380.1 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.924e-05/0.002432, allocations: 15.8 kB / 380.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.002542, allocations: 59.48 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.002668, allocations: 43.88 kB / 380.2 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.002807, allocations: 191 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.002932, allocations: 37.8 kB / 380.4 MB, free: 288 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.003037, allocations: 111.8 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.003123, allocations: 55.8 kB / 380.6 MB, free: 120 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.003145, allocations: 12 kB / 380.6 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.958e-05/0.003164, allocations: 16 kB / 380.6 MB, free: 92 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.003191, allocations: 31.91 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.00325, allocations: 63.88 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.00341, allocations: 115.5 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003412, allocations: 4 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003412, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.003417, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003989/0.003815, allocations: 484.2 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.003849, allocations: 12.02 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.003897, allocations: 32.78 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.004039, allocations: 148.4 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.004052, allocations: 12.7 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.004086, allocations: 20.36 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.004256, allocations: 139.9 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.00427, allocations: 12.14 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.004283, allocations: 8.359 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.00429, allocations: 4.375 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.004371, allocations: 59.83 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.004865, allocations: 0.584 MB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.005001, allocations: 118.1 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.872e-05/0.00505, allocations: 39.36 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.005058, allocations: 7.938 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.005078, allocations: 45.38 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.005079, allocations: 0 / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.000405/0.005484, allocations: 201 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.005514, allocations: 89.09 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.005599, allocations: 197 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.005609, allocations: 29.7 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.005662, allocations: 175 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.005692, allocations: 59.48 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.005731, allocations: 47.22 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.005829, allocations: 0.4923 MB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-05/0.005862, allocations: 23.98 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.005932, allocations: 119.9 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.006044, allocations: 152.7 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006046, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001941/0.00624, allocations: 200.7 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.006253, allocations: 8 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.006258, allocations: 4 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.006418, allocations: 47.34 kB / 384.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.006502, allocations: 43.86 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.007833, allocations: 3.768 MB / 388.1 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.007874, allocations: 15.89 kB / 388.1 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.007881, allocations: 8 kB / 388.2 MB, free: 7.934 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 (20): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/0.00796, allocations: 176.5 kB / 388.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.007994, allocations: 23.91 kB / 388.3 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.657e-05/0.00801, allocations: 12.78 kB / 388.4 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008012, allocations: 4 kB / 388.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.008016, allocations: 0 / 388.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.00802, allocations: 4.078 kB / 388.4 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.00817, allocations: 160.5 kB / 388.5 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.008173, allocations: 7.984 kB / 388.5 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.042e-05/0.008253, allocations: 27.92 kB / 388.6 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.821e-05/0.008341, allocations: 51.34 kB / 388.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.00835, allocations: 4 kB / 388.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.009661, allocations: 3.772 MB / 392.4 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009661, allocations: 0 / 392.4 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.009897, allocations: 438.2 kB / 392.8 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.009905, allocations: 7.953 kB / 392.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.009915, allocations: 11.94 kB / 392.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.009968, allocations: 0 / 392.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.009992, allocations: 15.97 kB / 392.8 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.009997, allocations: 4 kB / 392.9 MB, free: 2.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.503e-05/0.01004, allocations: 147.2 kB / 393 MB, free: 2.762 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01004, allocations: 0 / 393 MB, free: 2.762 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.01031, allocations: 55.89 kB / 393.1 MB, free: 2.707 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * 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 (10): * Single equations (assignments): 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.206e-05/0.01037, allocations: 95.25 kB / 393.1 MB, free: 2.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.01067, allocations: 455.5 kB / 393.6 MB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01067, allocations: 0 / 393.6 MB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.01084, allocations: 399.6 kB / 394 MB, free: 1.691 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.01111, allocations: 32.05 kB / 394 MB, free: 1.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.01185, allocations: 0.5252 MB / 394.5 MB, free: 1.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.186e-05/0.0119, allocations: 79.97 kB / 394.6 MB, free: 1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.062e-05/0.01193, allocations: 21.47 kB / 394.6 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.01195, allocations: 12.5 kB / 394.6 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01195, allocations: 0 / 394.6 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of Templates: time 0.003737/0.01569, allocations: 2.098 MB / 396.7 MB, free: 14.9 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.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.393479017075151]