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.001175/0.001175, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.004327/0.004327, allocations: 170.6 kB / 25 MB, free: 8.793 MB / 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.168 MB / 186.7 MB " [Timeout remaining time 179] 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.2704/0.2704, allocations: 32.81 MB / 294.6 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] 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 1.643e-06/1.643e-06, allocations: 0 / 376 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.847e-05, allocations: 5.688 kB / 376 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002318/0.002346, allocations: 1.893 MB / 377.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004393/0.002785, allocations: 147.5 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.002865, allocations: 4 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.249e-05/0.002927, allocations: 27.66 kB / 378 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.003056, allocations: 55.48 kB / 378.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.003191, allocations: 31.97 kB / 378.1 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.003354, allocations: 191 kB / 378.3 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.00349, allocations: 41.77 kB / 378.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.003612, allocations: 107.8 kB / 378.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.003703, allocations: 55.88 kB / 378.5 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.003733, allocations: 12 kB / 378.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.135e-05/0.003755, allocations: 16 kB / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.003786, allocations: 39.83 kB / 378.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.003838, allocations: 55.91 kB / 378.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.004001, allocations: 119.5 kB / 378.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.004004, allocations: 3.938 kB / 378.8 MB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004005, allocations: 0 / 378.8 MB, free: 2.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.004011, allocations: 0 / 378.8 MB, free: 2.215 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.000463/0.004474, allocations: 484.3 kB / 379.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.004512, allocations: 8.031 kB / 379.2 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.004571, allocations: 32.84 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.004738, allocations: 156.3 kB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.004753, allocations: 8.703 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.00479, allocations: 24.33 kB / 379.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.004983, allocations: 143.8 kB / 379.6 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.004996, allocations: 4.188 kB / 379.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.005012, allocations: 8.375 kB / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.00502, allocations: 4.375 kB / 379.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.782e-05/0.005118, allocations: 67.86 kB / 379.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/0.005719, allocations: 0.5723 MB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.005884, allocations: 126.1 kB / 380.4 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.00594, allocations: 39.36 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.00595, allocations: 7.938 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.005973, allocations: 33.39 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.664e-06/0.005975, allocations: 0 / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005162/0.006491, allocations: 212.9 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.006529, allocations: 81.05 kB / 380.7 MB, free: 36 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.00665, allocations: 197.8 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.006662, allocations: 25.7 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.006734, allocations: 183 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.006772, allocations: 67.47 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.006822, allocations: 47.22 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.006948, allocations: 0.4923 MB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.006991, allocations: 23.98 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.104e-05/0.007072, allocations: 111.3 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.007211, allocations: 156.7 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.007218, allocations: 3.984 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002451/0.007463, allocations: 196.7 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.00748, allocations: 8.25 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.007484, allocations: 4 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.007676, allocations: 55.28 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.007773, allocations: 32.22 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.009522, allocations: 3.771 MB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.009579, allocations: 15.89 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.009588, allocations: 8 kB / 386.1 MB, free: 10.26 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 9.563e-05/0.009684, allocations: 172.5 kB / 386.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.009718, allocations: 19.89 kB / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.009742, allocations: 21.05 kB / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.009746, allocations: 7.984 kB / 386.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.009751, allocations: 0 / 386.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.009754, allocations: 0 / 386.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.009921, allocations: 172.5 kB / 386.5 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.009924, allocations: 4 kB / 386.5 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.469e-05/0.01002, allocations: 23.98 kB / 386.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.01013, allocations: 43.36 kB / 386.6 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.01015, allocations: 7.984 kB / 386.6 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.01172, allocations: 3.768 MB / 390.3 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01172, allocations: 0 / 390.3 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.01202, allocations: 438.4 kB / 390.8 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.01203, allocations: 11.94 kB / 390.8 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.01205, allocations: 11.94 kB / 390.8 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/0.01211, allocations: 3.938 kB / 390.8 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.01215, allocations: 15.92 kB / 390.8 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.01215, allocations: 4 kB / 390.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.857e-05/0.01221, allocations: 142 kB / 391 MB, free: 5.094 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01221, allocations: 0 / 391 MB, free: 5.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003408/0.01255, allocations: 55.88 kB / 391 MB, free: 5.039 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.0001211/0.01267, allocations: 103.2 kB / 391.1 MB, free: 4.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004425/0.01312, allocations: 447.1 kB / 391.6 MB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01312, allocations: 0 / 391.6 MB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.01332, allocations: 399.8 kB / 391.9 MB, free: 4.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.01364, allocations: 31.39 kB / 392 MB, free: 3.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.01454, allocations: 0.5251 MB / 392.5 MB, free: 3.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.911e-05/0.0146, allocations: 79.97 kB / 392.6 MB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.058e-05/0.01464, allocations: 5.5 kB / 392.6 MB, free: 3.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.01466, allocations: 20.5 kB / 392.6 MB, free: 3.305 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.01466, allocations: 0 / 392.6 MB, free: 3.305 MB / 362.7 MB Notification: Performance of Templates: time 0.004277/0.01894, allocations: 2.103 MB / 394.7 MB, free: 1.238 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2043699470814317]