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.001943/0.001943, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.001955/0.001955, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 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.565/1.565, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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.4563/0.4563, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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 1.192e-06/1.192e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.856e-05, allocations: 8 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003276/0.003305, allocations: 1.862 MB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003712/0.003676, allocations: 151.4 kB / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.003747, allocations: 7.938 kB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.252e-05/0.003809, allocations: 19.8 kB / 379.2 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.003968, allocations: 59.42 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.00411, allocations: 35.95 kB / 379.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.00435, allocations: 191 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.004491, allocations: 45.64 kB / 379.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.004671, allocations: 107.8 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.00479, allocations: 51.88 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.00482, allocations: 12 kB / 379.7 MB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.385e-05/0.004854, allocations: 16 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.004898, allocations: 35.84 kB / 379.8 MB, free: 336 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.004977, allocations: 59.84 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.005238, allocations: 187.4 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005241, allocations: 0 / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005242, allocations: 0 / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005247, allocations: 0 / 380 MB, free: 88 kB / 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.0007154/0.005962, allocations: 495.9 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005998, allocations: 8.031 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.006067, allocations: 28.84 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.006282, allocations: 152.4 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.006305, allocations: 16.69 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.006346, allocations: 28.31 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.006677, allocations: 175.8 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.006695, allocations: 4.141 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.006718, allocations: 12.38 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.006726, allocations: 4.375 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.006902, allocations: 79.89 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009556/0.007857, allocations: 0.6152 MB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.008117, allocations: 146.1 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.811e-05/0.008215, allocations: 59.36 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.008233, allocations: 4.125 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.008271, allocations: 41.33 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.008272, allocations: 0 / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007906/0.009062, allocations: 240.7 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.009124, allocations: 77.11 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.009544, allocations: 208.2 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.009566, allocations: 33.7 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.009688, allocations: 175 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.009758, allocations: 71.45 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.009832, allocations: 43.38 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002718/0.0101, allocations: 0.4962 MB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.01018, allocations: 47.78 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.01035, allocations: 144.6 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.01062, allocations: 184.7 kB / 383.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01062, allocations: 0 / 383.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004272/0.01105, allocations: 245.2 kB / 383.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.01107, allocations: 8 kB / 383.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01107, allocations: 3.984 kB / 383.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.01131, allocations: 55.36 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.01146, allocations: 35.92 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/0.01479, allocations: 3.874 MB / 387.8 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.01487, allocations: 11.89 kB / 387.8 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.01488, allocations: 12 kB / 387.8 MB, free: 7.715 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.0001644/0.01505, allocations: 180.6 kB / 388 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.0151, allocations: 15.95 kB / 388 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.01514, allocations: 12.78 kB / 388 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01514, allocations: 4 kB / 388 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.01515, allocations: 3.984 kB / 388 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.01516, allocations: 4 kB / 388 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.01546, allocations: 188.4 kB / 388.2 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01547, allocations: 4 kB / 388.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.01562, allocations: 23.98 kB / 388.2 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001657/0.01579, allocations: 59.34 kB / 388.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.0158, allocations: 0 / 388.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003378/0.01918, allocations: 3.87 MB / 392.1 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.01918, allocations: 4 kB / 392.1 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.01972, allocations: 482.1 kB / 392.6 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.01974, allocations: 7.953 kB / 392.6 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.01976, allocations: 11.94 kB / 392.6 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.01986, allocations: 0 / 392.6 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.0199, allocations: 15.97 kB / 392.7 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01991, allocations: 8.094 kB / 392.7 MB, free: 2.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.02001, allocations: 143.2 kB / 392.8 MB, free: 2.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02001, allocations: 0 / 392.8 MB, free: 2.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004448/0.02046, allocations: 55.89 kB / 392.9 MB, free: 2.32 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.0001576/0.02062, allocations: 99.28 kB / 393 MB, free: 2.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000721/0.02134, allocations: 490.5 kB / 393.4 MB, free: 1.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02134, allocations: 0 / 393.4 MB, free: 1.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.02179, allocations: 407.3 kB / 393.8 MB, free: 1.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.02223, allocations: 38.16 kB / 393.9 MB, free: 1.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.0232, allocations: 0.5255 MB / 394.4 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.02333, allocations: 116.2 kB / 394.5 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.649e-05/0.02337, allocations: 5.5 kB / 394.5 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.0234, allocations: 16.5 kB / 394.5 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0234, allocations: 0 / 394.5 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of Templates: time 0.006692/0.03009, allocations: 2.108 MB / 396.6 MB, free: 14.44 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_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.151329168933444]