Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001605/0.001605, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.3161/0.3161, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 80.09 kB / 0.4971 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4112, allocations: 66.04 MB / 0.5616 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003454/0.4146, allocations: 1.879 MB / 0.5635 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003498/0.415, allocations: 151.4 kB / 0.5636 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.4151, allocations: 4 kB / 0.5636 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.309e-05/0.4151, allocations: 19.73 kB / 0.5636 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.4153, allocations: 55.55 kB / 0.5637 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.4154, allocations: 43.89 kB / 0.5637 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.4157, allocations: 191.1 kB / 0.5639 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.4159, allocations: 33.73 kB / 0.5639 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.416, allocations: 75.78 kB / 0.564 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.4161, allocations: 75.69 kB / 0.5641 GB, free: 2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.4161, allocations: 12 kB / 0.5641 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.4163, allocations: 16 kB / 0.5641 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.4163, allocations: 31.86 kB / 0.5641 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.4164, allocations: 87.59 kB / 0.5642 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.4167, allocations: 177.8 kB / 0.5644 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.4167, allocations: 4 kB / 0.5644 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4167, allocations: 0 / 0.5644 GB, free: 1.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.4167, allocations: 7.922 kB / 0.5644 GB, free: 1.676 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.0007361/0.4175, allocations: 377.9 kB / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4175, allocations: 8.031 kB / 0.5648 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.4176, allocations: 20.84 kB / 0.5648 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.4177, allocations: 142.3 kB / 0.5649 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4178, allocations: 16.64 kB / 0.565 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.4178, allocations: 24.33 kB / 0.565 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.4181, allocations: 166.2 kB / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4181, allocations: 4.125 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.4182, allocations: 11.94 kB / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.4182, allocations: 7.984 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.4184, allocations: 87.94 kB / 0.5652 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.4192, allocations: 0.5579 MB / 0.5658 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.4195, allocations: 125.1 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.4196, allocations: 49.7 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.4196, allocations: 0 / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.4196, allocations: 34.56 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.4196, allocations: 4 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000758/0.4204, allocations: 227.2 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.4205, allocations: 85.05 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.4206, allocations: 126.1 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.4206, allocations: 29.7 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.4207, allocations: 128.2 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.4208, allocations: 59.47 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.4208, allocations: 37.72 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.421, allocations: 326.8 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.4211, allocations: 39.98 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.4213, allocations: 100.6 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.4215, allocations: 164.4 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4215, allocations: 4 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004069/0.4219, allocations: 219 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4219, allocations: 4 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4219, allocations: 7.984 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.4222, allocations: 49.95 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.4223, allocations: 35.92 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.4249, allocations: 2.783 MB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.06e-05/0.425, allocations: 16.36 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.425, allocations: 12 kB / 0.5703 GB, free: 11.11 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.0001245/0.4251, allocations: 126.7 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.4252, allocations: 16 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.451e-05/0.4252, allocations: 24.59 kB / 0.5705 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.4252, allocations: 8.016 kB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4253, allocations: 4 kB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4253, allocations: 3.984 kB / 0.5705 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.4256, allocations: 196.7 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4256, allocations: 4 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.4257, allocations: 23.98 kB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.4259, allocations: 53.62 kB / 0.5707 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.4259, allocations: 11.94 kB / 0.5708 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.4284, allocations: 2.772 MB / 0.5735 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4284, allocations: 4.031 kB / 0.5735 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.4289, allocations: 379.8 kB / 0.5738 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.4289, allocations: 15.95 kB / 0.5738 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.4289, allocations: 0 / 0.5738 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.429, allocations: 8 kB / 0.5739 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.4291, allocations: 15.97 kB / 0.5739 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.4291, allocations: 0 / 0.5739 GB, free: 7.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.4292, allocations: 103.3 kB / 0.574 GB, free: 7.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4292, allocations: 0 / 0.574 GB, free: 7.055 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004425/0.4296, allocations: 51.95 kB / 0.574 GB, free: 7.004 MB / 414.1 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.0001186/0.4297, allocations: 99.19 kB / 0.5741 GB, free: 6.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.4303, allocations: 341.1 kB / 0.5744 GB, free: 6.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4303, allocations: 0 / 0.5744 GB, free: 6.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.4307, allocations: 285.8 kB / 0.5747 GB, free: 6.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.4313, allocations: 46.69 kB / 0.5748 GB, free: 6.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.4324, allocations: 0.6452 MB / 0.5754 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.4329, allocations: 0.7203 MB / 0.5761 GB, free: 4.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.841e-05/0.4329, allocations: 9.438 kB / 0.5761 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.433, allocations: 15.44 kB / 0.5761 GB, free: 4.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.433, allocations: 0 / 0.5761 GB, free: 4.75 MB / 414.1 MB Notification: Performance of Templates: time 0.006024/0.439, allocations: 2.065 MB / 0.5781 GB, free: 2.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.463253655470908]