Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001912/0.001912, allocations: 105.1 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.002384/0.002384, allocations: 213.9 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.436/1.436, allocations: 230.3 MB / 258 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.89 MB / 361.3 MB, free: 4.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 79.86 kB / 0.497 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3943, allocations: 66.04 MB / 0.5615 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003088/0.3974, allocations: 1.871 MB / 0.5633 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003494/0.3978, allocations: 155.4 kB / 0.5635 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.3978, allocations: 4 kB / 0.5635 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.81e-05/0.3979, allocations: 27.73 kB / 0.5635 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.398, allocations: 47.55 kB / 0.5636 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.3982, allocations: 35.95 kB / 0.5636 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3984, allocations: 195.1 kB / 0.5638 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.3986, allocations: 37.73 kB / 0.5638 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.3987, allocations: 67.78 kB / 0.5639 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3988, allocations: 83.62 kB / 0.564 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.3988, allocations: 12 kB / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.312e-05/0.3988, allocations: 16 kB / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.3989, allocations: 27.92 kB / 0.564 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.827e-05/0.399, allocations: 87.59 kB / 0.5641 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.3992, allocations: 181.8 kB / 0.5643 GB, free: 1.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3992, allocations: 0 / 0.5643 GB, free: 1.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3992, allocations: 0 / 0.5643 GB, free: 1.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3992, allocations: 0 / 0.5643 GB, free: 1.816 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.0006199/0.3999, allocations: 385.9 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3999, allocations: 8.031 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.3999, allocations: 20.84 kB / 0.5647 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.4001, allocations: 150.3 kB / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4002, allocations: 8.703 kB / 0.5648 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.4002, allocations: 20.33 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.4005, allocations: 170.1 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.4005, allocations: 4.188 kB / 0.565 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.4005, allocations: 19.88 kB / 0.565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.4005, allocations: 4 kB / 0.565 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.4007, allocations: 87.94 kB / 0.5651 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.4015, allocations: 0.5579 MB / 0.5657 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.4017, allocations: 129.1 kB / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.241e-05/0.4018, allocations: 45.7 kB / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.4018, allocations: 0 / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.4018, allocations: 38.73 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.4018, allocations: 0 / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007585/0.4026, allocations: 227.1 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.4026, allocations: 81.11 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4028, allocations: 134.1 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.4028, allocations: 25.7 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.4029, allocations: 128.2 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.4029, allocations: 63.47 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.403, allocations: 37.72 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4031, allocations: 322.8 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/0.4032, allocations: 31.98 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.4033, allocations: 104.6 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.4035, allocations: 164.8 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4035, allocations: 0 / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003733/0.4039, allocations: 223.1 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4039, allocations: 4 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4039, allocations: 4 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.4041, allocations: 49.69 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4043, allocations: 35.92 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.4066, allocations: 2.791 MB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.4066, allocations: 23.98 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.4067, allocations: 12 kB / 0.5702 GB, free: 11.23 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.0001299/0.4068, allocations: 130.9 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.4068, allocations: 11.91 kB / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.4069, allocations: 20.66 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4069, allocations: 4 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4069, allocations: 3.984 kB / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4069, allocations: 4 kB / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.4072, allocations: 192.7 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4072, allocations: 0 / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.4074, allocations: 27.98 kB / 0.5706 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.4075, allocations: 53.62 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4075, allocations: 3.938 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.4097, allocations: 2.779 MB / 0.5733 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4097, allocations: 0 / 0.5733 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.4102, allocations: 379.7 kB / 0.5737 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.4102, allocations: 11.89 kB / 0.5737 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.4102, allocations: 4 kB / 0.5737 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.4103, allocations: 12 kB / 0.5737 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.4103, allocations: 11.97 kB / 0.5737 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.4103, allocations: 12 kB / 0.5738 GB, free: 7.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.344e-05/0.4104, allocations: 97.66 kB / 0.5738 GB, free: 7.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4104, allocations: 0 / 0.5738 GB, free: 7.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.4109, allocations: 51.95 kB / 0.5739 GB, free: 7.137 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.0001529/0.411, allocations: 99.22 kB / 0.574 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005678/0.4116, allocations: 345.3 kB / 0.5743 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4116, allocations: 0 / 0.5743 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.4119, allocations: 285.2 kB / 0.5746 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.4124, allocations: 31.3 kB / 0.5746 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.4135, allocations: 0.653 MB / 0.5753 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.4139, allocations: 0.7281 MB / 0.576 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.555e-05/0.4139, allocations: 9.422 kB / 0.576 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.4139, allocations: 15.44 kB / 0.576 GB, free: 4.875 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4139, allocations: 0 / 0.576 GB, free: 4.875 MB / 414.1 MB Notification: Performance of Templates: time 0.005562/0.4195, allocations: 2.056 MB / 0.578 GB, free: 2.832 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.2849262254312634]