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.001471/0.001471, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001355/0.001355, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.132/1.132, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.4108/0.4108, allocations: 34.27 MB / 296.1 MB, free: 0.7188 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 2.484e-06/2.484e-06, allocations: 0 / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.953e-05, allocations: 2.312 kB / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002558/0.002588, allocations: 1.876 MB / 380.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.002967, allocations: 143.5 kB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.003057, allocations: 7.938 kB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.057e-05/0.003118, allocations: 27.73 kB / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.003259, allocations: 55.48 kB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.003413, allocations: 39.94 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.003576, allocations: 195 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.003721, allocations: 36.38 kB / 380.9 MB, free: 24 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.003877, allocations: 107.8 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.003995, allocations: 51.88 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.004025, allocations: 16 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.259e-05/0.004047, allocations: 12 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.004084, allocations: 35.84 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.004137, allocations: 63.89 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.004326, allocations: 127.4 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004329, allocations: 0 / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004329, allocations: 0 / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.004335, allocations: 4 kB / 381.3 MB, free: 15.61 MB / 362.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.0004726/0.004808, allocations: 472.3 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.004858, allocations: 16.02 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.004909, allocations: 32.84 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.005064, allocations: 144.4 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.00508, allocations: 16.7 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.005114, allocations: 28.25 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.005278, allocations: 127.8 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.005294, allocations: 8.172 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.005307, allocations: 8.375 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.005315, allocations: 4.375 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/0.005379, allocations: 47.89 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.005935, allocations: 0.5533 MB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.006079, allocations: 126 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.00612, allocations: 35.36 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.006134, allocations: 7.984 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.006164, allocations: 45.45 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.006165, allocations: 0 / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004383/0.006603, allocations: 192.8 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.006644, allocations: 85.03 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.006747, allocations: 193.8 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.00676, allocations: 25.7 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.006838, allocations: 175 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.006875, allocations: 63.47 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.006925, allocations: 47.2 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.007069, allocations: 0.5 MB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.007093, allocations: 15.98 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.007171, allocations: 119.8 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.007295, allocations: 140.7 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.007299, allocations: 4 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000212/0.007511, allocations: 192.6 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.007527, allocations: 8 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.007534, allocations: 0 / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.007697, allocations: 55.59 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.00778, allocations: 35.92 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.009564, allocations: 3.714 MB / 388.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.009617, allocations: 20.05 kB / 388.5 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.009626, allocations: 8 kB / 388.5 MB, free: 7.828 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.0001012/0.009727, allocations: 176.5 kB / 388.6 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.009757, allocations: 19.84 kB / 388.7 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.009781, allocations: 20.77 kB / 388.7 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.009783, allocations: 0 / 388.7 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.009788, allocations: 0 / 388.7 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.009794, allocations: 4 kB / 388.7 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.009949, allocations: 137.2 kB / 388.8 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.009951, allocations: 4 kB / 388.8 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.01003, allocations: 27.98 kB / 388.9 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-05/0.01013, allocations: 39.36 kB / 388.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01014, allocations: 7.938 kB / 388.9 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.01168, allocations: 3.722 MB / 392.6 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01168, allocations: 0 / 392.6 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.01196, allocations: 430.3 kB / 393 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.01197, allocations: 11.94 kB / 393.1 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.01198, allocations: 8.219 kB / 393.1 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.386e-05/0.01204, allocations: 11.94 kB / 393.1 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.01206, allocations: 11.98 kB / 393.1 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.01207, allocations: 4 kB / 393.1 MB, free: 2.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.261e-05/0.01212, allocations: 139.1 kB / 393.2 MB, free: 2.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01212, allocations: 0 / 393.2 MB, free: 2.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000282/0.0124, allocations: 59.89 kB / 393.3 MB, free: 2.715 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 9.496e-05/0.0125, allocations: 95.19 kB / 393.4 MB, free: 2.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.01287, allocations: 455 kB / 393.8 MB, free: 2.125 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01287, allocations: 0 / 393.8 MB, free: 2.125 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.01307, allocations: 388 kB / 394.2 MB, free: 1.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.01336, allocations: 32.33 kB / 394.2 MB, free: 1.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/0.01417, allocations: 0.525 MB / 394.8 MB, free: 1.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.699e-05/0.01424, allocations: 83.98 kB / 394.8 MB, free: 1.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.856e-05/0.01428, allocations: 13.48 kB / 394.9 MB, free: 1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.01436, allocations: 94.17 kB / 394.9 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01436, allocations: 0 / 394.9 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of Templates: time 0.004309/0.01867, allocations: 2.248 MB / 397.2 MB, free: 14.69 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","",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.460997898131609]