Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002498/0.002498, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002841/0.002841, allocations: 165.3 kB / 24.28 MB, free: 156 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.641/1.641, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3768/0.3768, allocations: 32.8 MB / 293.9 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.371e-05, allocations: 2.312 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003666/0.0037, allocations: 1.858 MB / 377.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003901/0.00409, allocations: 151.4 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.004164, allocations: 4 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.501e-05/0.004229, allocations: 23.73 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.004382, allocations: 59.42 kB / 377.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.004528, allocations: 39.94 kB / 377.4 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.004759, allocations: 187 kB / 377.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.004916, allocations: 45.64 kB / 377.6 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.005107, allocations: 107.8 kB / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.00523, allocations: 51.88 kB / 377.8 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.005262, allocations: 12 kB / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-05/0.005296, allocations: 16 kB / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.005341, allocations: 39.84 kB / 377.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.413e-05/0.005425, allocations: 55.91 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.005691, allocations: 187.3 kB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.005694, allocations: 0 / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.005695, allocations: 0 / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.0057, allocations: 0 / 378.1 MB, free: 2.152 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007063/0.006406, allocations: 495.9 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.006444, allocations: 8.031 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.383e-05/0.006518, allocations: 28.84 kB / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.006736, allocations: 152.4 kB / 378.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.006757, allocations: 16.7 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.006801, allocations: 20.36 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.007121, allocations: 179.8 kB / 378.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.00714, allocations: 4.141 kB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.007163, allocations: 8.375 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.007171, allocations: 4.375 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.007352, allocations: 87.89 kB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.008321, allocations: 0.6152 MB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.008571, allocations: 150 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.095e-05/0.008662, allocations: 59.36 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.008679, allocations: 3.938 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.008714, allocations: 37.58 kB / 379.9 MB, free: 148 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.008715, allocations: 3.938 kB / 379.9 MB, free: 144 kB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008088/0.009524, allocations: 240.7 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.009585, allocations: 77.11 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.009765, allocations: 213 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.009788, allocations: 33.7 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.009923, allocations: 183 kB / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.009989, allocations: 63.48 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.01006, allocations: 43.38 kB / 380.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002705/0.01033, allocations: 0.4962 MB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.01041, allocations: 43.84 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.01057, allocations: 140.8 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.01082, allocations: 184.7 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01082, allocations: 0 / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004302/0.01125, allocations: 240.9 kB / 381.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.01127, allocations: 8 kB / 381.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01128, allocations: 3.938 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/0.01156, allocations: 63.58 kB / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.01171, allocations: 35.98 kB / 381.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.01536, allocations: 3.869 MB / 385.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-05/0.01545, allocations: 15.89 kB / 385.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01547, allocations: 16.16 kB / 385.8 MB, free: 9.773 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 0.0001762/0.01564, allocations: 172.5 kB / 386 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.01571, allocations: 15.95 kB / 386 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.01576, allocations: 20.7 kB / 386.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01576, allocations: 4 kB / 386.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.01577, allocations: 0 / 386.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.01577, allocations: 4 kB / 386.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.01608, allocations: 188.4 kB / 386.2 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.01609, allocations: 11.98 kB / 386.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.01624, allocations: 20 kB / 386.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000175/0.01641, allocations: 55.34 kB / 386.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01643, allocations: 0 / 386.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003402/0.01983, allocations: 3.862 MB / 390.2 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.01983, allocations: 4 kB / 390.2 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.02038, allocations: 482.2 kB / 390.7 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.0204, allocations: 11.95 kB / 390.7 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.02043, allocations: 15.94 kB / 390.7 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.02053, allocations: 128 / 390.7 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.02057, allocations: 23.91 kB / 390.7 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.02058, allocations: 4 kB / 390.7 MB, free: 4.574 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.0207, allocations: 143.2 kB / 390.9 MB, free: 4.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0207, allocations: 0 / 390.9 MB, free: 4.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004575/0.02116, allocations: 55.89 kB / 390.9 MB, free: 4.379 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 0.0001451/0.0213, allocations: 95.25 kB / 391 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007301/0.02203, allocations: 479.8 kB / 391.5 MB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02204, allocations: 0 / 391.5 MB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.02247, allocations: 411.3 kB / 391.9 MB, free: 3.324 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.02295, allocations: 40.27 kB / 391.9 MB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.02395, allocations: 0.5216 MB / 392.4 MB, free: 2.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.02408, allocations: 116.2 kB / 392.6 MB, free: 2.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.33e-05/0.02412, allocations: 9.5 kB / 392.6 MB, free: 2.586 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.02415, allocations: 12.5 kB / 392.6 MB, free: 2.574 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02415, allocations: 0 / 392.6 MB, free: 2.574 MB / 362.7 MB Notification: Performance of Templates: time 0.006324/0.03048, allocations: 2.102 MB / 394.7 MB, free: 0.5039 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.12834514293354]