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.002131/0.002131, 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.002539/0.002539, allocations: 165.6 kB / 24.27 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.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3621/0.3621, allocations: 34.27 MB / 295.3 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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 1.753e-06/1.753e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.197e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003528/0.00356, allocations: 1.866 MB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003732/0.003933, allocations: 147.4 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.004009, allocations: 7.938 kB / 379.3 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.001e-05/0.004069, allocations: 15.8 kB / 379.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.004232, allocations: 59.48 kB / 379.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.004384, allocations: 39.88 kB / 379.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.004644, allocations: 195 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.004785, allocations: 41.64 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.004957, allocations: 103.8 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.005085, allocations: 63.81 kB / 379.8 MB, free: 440 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.00512, allocations: 12 kB / 379.8 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.444e-05/0.005154, allocations: 16 kB / 379.8 MB, free: 412 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.005192, allocations: 27.91 kB / 379.8 MB, free: 384 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.797e-05/0.00528, allocations: 67.83 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.005564, allocations: 183.4 kB / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.005567, allocations: 0 / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005568, allocations: 0 / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005573, allocations: 0 / 380.1 MB, free: 132 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.0006926/0.006266, allocations: 495.9 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.006304, allocations: 8.031 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/0.006383, allocations: 32.84 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.006607, allocations: 148.4 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.006625, allocations: 8.703 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.00667, allocations: 20.38 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.006983, allocations: 179.8 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.007002, allocations: 4.141 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.007021, allocations: 8.375 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.007031, allocations: 4.375 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.007206, allocations: 87.62 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.008156, allocations: 0.623 MB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.008445, allocations: 142.1 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.008553, allocations: 55.36 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.008579, allocations: 7.922 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.00863, allocations: 45.52 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.008631, allocations: 0 / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008924/0.009523, allocations: 240.7 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.009602, allocations: 77.11 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.009815, allocations: 208.7 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.009848, allocations: 29.7 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.009996, allocations: 183 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/0.01007, allocations: 63.47 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.01015, allocations: 55.36 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002921/0.01044, allocations: 0.4962 MB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.084e-05/0.01052, allocations: 43.84 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.01068, allocations: 135.6 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.01094, allocations: 196.7 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01095, allocations: 0 / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004278/0.01137, allocations: 232.6 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.01139, allocations: 8 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.0114, allocations: 0 / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.01169, allocations: 63.59 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.01183, allocations: 39.92 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/0.01525, allocations: 3.866 MB / 387.8 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.01533, allocations: 15.89 kB / 387.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.01535, allocations: 8 kB / 387.9 MB, free: 7.77 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.0001594/0.01551, allocations: 180.5 kB / 388 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.01556, allocations: 11.95 kB / 388 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.0156, allocations: 16.77 kB / 388.1 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.01561, allocations: 4 kB / 388.1 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.01561, allocations: 4.062 kB / 388.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01562, allocations: 0 / 388.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.01592, allocations: 196.4 kB / 388.3 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01592, allocations: 0 / 388.3 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.01606, allocations: 27.98 kB / 388.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001644/0.01623, allocations: 51.36 kB / 388.3 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.01624, allocations: 7.984 kB / 388.3 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/0.01931, allocations: 3.87 MB / 392.2 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01931, allocations: 0 / 392.2 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.02001, allocations: 490.3 kB / 392.7 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.02003, allocations: 7.953 kB / 392.7 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.02005, allocations: 11.92 kB / 392.7 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.02017, allocations: 4 kB / 392.7 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.0202, allocations: 7.984 kB / 392.7 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-06/0.02021, allocations: 4 kB / 392.7 MB, free: 2.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.928e-05/0.02031, allocations: 143.2 kB / 392.9 MB, free: 2.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02031, allocations: 0 / 392.9 MB, free: 2.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004365/0.02074, allocations: 59.89 kB / 392.9 MB, free: 2.371 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.0001442/0.02089, allocations: 103.2 kB / 393 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000697/0.02159, allocations: 471.6 kB / 393.5 MB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02159, allocations: 0 / 393.5 MB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004413/0.02203, allocations: 412 kB / 393.9 MB, free: 1.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.0225, allocations: 51.77 kB / 393.9 MB, free: 1.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009813/0.02348, allocations: 0.5251 MB / 394.5 MB, free: 0.707 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.02361, allocations: 112.2 kB / 394.6 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.938e-05/0.02365, allocations: 9.484 kB / 394.6 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.02368, allocations: 16.5 kB / 394.6 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of SimCode: time 4.5e-07/0.02368, allocations: 4 kB / 394.6 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of Templates: time 0.00644/0.03012, allocations: 2.094 MB / 396.7 MB, free: 14.49 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_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.047790418961085]