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.001751/0.001751, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.001982/0.001982, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 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.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2561/0.2561, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 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 0.002088/0.002088, allocations: 75.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3328, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003146/0.3359, allocations: 1.782 MB / 0.5636 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003724/0.3363, allocations: 151.4 kB / 0.5637 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.35e-05/0.3364, allocations: 4 kB / 0.5637 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.907e-05/0.3365, allocations: 19.73 kB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.3366, allocations: 51.55 kB / 0.5638 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.3367, allocations: 39.94 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.337, allocations: 191.1 kB / 0.564 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3371, allocations: 37.73 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3372, allocations: 71.77 kB / 0.5641 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.3374, allocations: 75.7 kB / 0.5642 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.3374, allocations: 16 kB / 0.5642 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.137e-05/0.3374, allocations: 12 kB / 0.5642 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.3375, allocations: 35.86 kB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.038e-05/0.3375, allocations: 67.72 kB / 0.5643 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.3378, allocations: 185.6 kB / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3378, allocations: 0 / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3378, allocations: 3.938 kB / 0.5645 GB, free: 1.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.3378, allocations: 0 / 0.5645 GB, free: 1.449 MB / 398.1 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.0006198/0.3384, allocations: 385.9 kB / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3385, allocations: 8.031 kB / 0.5648 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.3385, allocations: 20.84 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.3387, allocations: 150.3 kB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3387, allocations: 8.703 kB / 0.565 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.3388, allocations: 28.27 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.3391, allocations: 170.1 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3391, allocations: 192 / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.3391, allocations: 11.94 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.3391, allocations: 4 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.3393, allocations: 79.95 kB / 0.5653 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000848/0.3402, allocations: 0.496 MB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.3405, allocations: 125.2 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.076e-05/0.3406, allocations: 53.69 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.3406, allocations: 0 / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.3406, allocations: 34.56 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.3406, allocations: 0 / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007564/0.3414, allocations: 227.2 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.3414, allocations: 81.05 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3416, allocations: 132.9 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3416, allocations: 29.7 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.3417, allocations: 128.2 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.3417, allocations: 67.45 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.3418, allocations: 37.72 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3419, allocations: 326.8 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.86e-05/0.342, allocations: 35.98 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3421, allocations: 102.2 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.3424, allocations: 172.7 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3424, allocations: 0 / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003833/0.3427, allocations: 215 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3428, allocations: 8 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3428, allocations: 4 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.343, allocations: 53.94 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3432, allocations: 35.92 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.3457, allocations: 2.73 MB / 0.5702 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.3458, allocations: 16.11 kB / 0.5702 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.3458, allocations: 15.94 kB / 0.5703 GB, free: 11.02 MB / 414.1 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 0.0001283/0.3459, allocations: 125.8 kB / 0.5704 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.346, allocations: 15.89 kB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.346, allocations: 16.72 kB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.346, allocations: 0 / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.346, allocations: 0 / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.346, allocations: 15.89 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.3461, allocations: 7.938 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3462, allocations: 8 kB / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.3462, allocations: 11.97 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006459/0.3468, allocations: 345.8 kB / 0.5708 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004008/0.3472, allocations: 437.9 kB / 0.5712 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.339e-05/0.3473, allocations: 44.02 kB / 0.5712 GB, free: 9.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.3474, allocations: 99.36 kB / 0.5713 GB, free: 9.879 MB / 414.1 MB Notification: Performance of Backend: time 3.1e-07/0.3474, allocations: 4.125 kB / 0.5713 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008615/0.3482, allocations: 387.5 kB / 0.5717 GB, free: 9.461 MB / 414.1 MB Notification: Performance of SimCode: time 0.001481/0.3497, allocations: 1.156 MB / 0.5728 GB, free: 8.262 MB / 414.1 MB Notification: Performance of Templates: time 0.005889/0.3556, allocations: 2.31 MB / 0.5751 GB, free: 5.988 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0265056299977005]