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.001256/0.001256, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001893/0.003149, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001143/0.001143, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002535, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.099/1.099, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.123/1.222, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3292/0.3292, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03181/0.361, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.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.663e-06/1.663e-06, allocations: 3.938 kB / 290.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.418e-05, allocations: 3.078 kB / 290.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.004712/0.004746, allocations: 1.936 MB / 292.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005669/0.005313, allocations: 160 kB / 292.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.93e-05/0.005402, allocations: 2.594 kB / 292.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.44e-05/0.005467, allocations: 18.64 kB / 292.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.005632, allocations: 53.77 kB / 292.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.005772, allocations: 39.64 kB / 292.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.00606, allocations: 197.9 kB / 293 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.006218, allocations: 39.06 kB / 293 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.006475, allocations: 119.2 kB / 293.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.006622, allocations: 52.22 kB / 293.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.006727, allocations: 14.19 kB / 293.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.571e-05/0.006793, allocations: 14.19 kB / 293.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.006824, allocations: 26.72 kB / 293.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.006893, allocations: 50.09 kB / 293.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.007072, allocations: 119.5 kB / 293.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.007082, allocations: 0 / 293.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.007084, allocations: 0 / 293.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.007096, allocations: 0 / 293.4 MB, free: 5.512 MB / 282.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.0003425/0.007438, allocations: 392.9 kB / 293.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.33e-05/0.007461, allocations: 12.03 kB / 293.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.007495, allocations: 28.92 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.007603, allocations: 134.2 kB / 294 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.007616, allocations: 12.7 kB / 294 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.007637, allocations: 16.38 kB / 294 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.007751, allocations: 134.1 kB / 294.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.007757, allocations: 4.188 kB / 294.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.007767, allocations: 8.375 kB / 294.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.007771, allocations: 4.375 kB / 294.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.731e-05/0.007829, allocations: 50.25 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.008195, allocations: 415.7 kB / 294.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.793e-05/0.008293, allocations: 97.08 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.008333, allocations: 41.81 kB / 294.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-06/0.008339, allocations: 0 / 294.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.008363, allocations: 34.56 kB / 294.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 6.71e-07/0.008364, allocations: 0 / 294.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003305/0.008694, allocations: 175.1 kB / 294.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.008737, allocations: 81.11 kB / 295 MB, free: 3.762 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.008816, allocations: 132.9 kB / 295.1 MB, free: 3.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.008829, allocations: 25.7 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.008894, allocations: 132.2 kB / 295.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.008931, allocations: 63.47 kB / 295.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.008968, allocations: 41.69 kB / 295.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.009081, allocations: 330.7 kB / 295.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.009102, allocations: 12 kB / 295.7 MB, free: 3.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.009176, allocations: 90.92 kB / 295.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.009277, allocations: 116.4 kB / 295.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.009278, allocations: 0 / 295.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001567/0.009435, allocations: 159 kB / 296.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.009445, allocations: 8 kB / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.009449, allocations: 4 kB / 296.1 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.009574, allocations: 54.14 kB / 296.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.009675, allocations: 43.92 kB / 296.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.01096, allocations: 2.523 MB / 298.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.011, allocations: 19.88 kB / 298.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.011, allocations: 4 kB / 298.7 MB, free: 15.74 MB / 298.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 7.675e-05/0.01108, allocations: 129.7 kB / 298.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.01111, allocations: 7.938 kB / 298.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.693e-05/0.01112, allocations: 20.77 kB / 298.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01113, allocations: 8.094 kB / 298.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01113, allocations: 0 / 298.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.01113, allocations: 0 / 298.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.01126, allocations: 109.8 kB / 299 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.01126, allocations: 0 / 299 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.591e-05/0.01135, allocations: 29.7 kB / 299 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.01136, allocations: 19.77 kB / 299.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.656e-05/0.01143, allocations: 45.69 kB / 299.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.01143, allocations: 4 kB / 299.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.01258, allocations: 2.523 MB / 301.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01258, allocations: 4.156 kB / 301.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.01278, allocations: 320.3 kB / 301.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-06/0.01279, allocations: 0 / 301.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.359e-05/0.01284, allocations: 8 kB / 302 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.01286, allocations: 11.97 kB / 302 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.01286, allocations: 3.938 kB / 302 MB, free: 12.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.393e-05/0.01289, allocations: 31.08 kB / 302 MB, free: 12.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01289, allocations: 0 / 302 MB, free: 12.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.01313, allocations: 55.89 kB / 302.1 MB, free: 12.2 MB / 298.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 7.527e-05/0.0132, allocations: 80.42 kB / 302.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.01347, allocations: 329.8 kB / 302.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.01348, allocations: 0 / 302.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.01363, allocations: 274.6 kB / 302.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.01384, allocations: 44.78 kB / 302.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.01643, allocations: 406.9 kB / 303.2 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.555e-05/0.0165, allocations: 75.98 kB / 303.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.825e-05/0.01653, allocations: 13.47 kB / 303.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.01662, allocations: 75.36 kB / 303.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01662, allocations: 0 / 303.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of Templates: time 0.004301/0.02092, allocations: 2.414 MB / 305.7 MB, free: 8.48 MB / 298.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 -ignoreHideResult -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.323370225727558]