Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008397/0.0008397, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001906, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007421/0.0007421, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008897/0.001632, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.018/1.018, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2013/1.22, allocations: 49.5 MB / 220.5 MB, free: 5.266 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1386/0.1386, allocations: 32.34 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0244/0.163, allocations: 12.29 MB / 265.9 MB, free: 7.824 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.13e-05, allocations: 2.312 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002457/0.002479, allocations: 1.916 MB / 269.1 MB, free: 4.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.005737, allocations: 155.4 kB / 269.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.005804, allocations: 11.94 kB / 269.3 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.725e-05/0.005852, allocations: 19.8 kB / 269.3 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.911e-05/0.005931, allocations: 51.48 kB / 269.4 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.53e-05/0.006006, allocations: 39.94 kB / 269.4 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.00616, allocations: 195 kB / 269.6 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.006277, allocations: 38.44 kB / 269.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.006404, allocations: 119.8 kB / 269.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.519e-05/0.006499, allocations: 51.81 kB / 269.8 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.006525, allocations: 16 kB / 269.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.031e-05/0.006545, allocations: 16 kB / 269.8 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.00657, allocations: 23.94 kB / 269.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.006639, allocations: 51.88 kB / 269.9 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.006808, allocations: 119.5 kB / 270 MB, free: 3.715 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.006823, allocations: 0 / 270 MB, free: 3.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006824, allocations: 0 / 270 MB, free: 3.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.00684, allocations: 0 / 270 MB, free: 3.715 MB / 266.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.0004655/0.007305, allocations: 388.2 kB / 270.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.007336, allocations: 12.03 kB / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.007374, allocations: 28.92 kB / 270.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.007503, allocations: 137.5 kB / 270.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.007517, allocations: 12.7 kB / 270.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.007545, allocations: 12.38 kB / 270.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.007699, allocations: 142 kB / 270.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.007712, allocations: 8.141 kB / 270.7 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.007726, allocations: 8.375 kB / 270.7 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.007733, allocations: 4.375 kB / 270.7 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.007797, allocations: 47.84 kB / 270.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.008239, allocations: 415.8 kB / 271.2 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.008351, allocations: 97.12 kB / 271.3 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.008389, allocations: 33.7 kB / 271.3 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.008398, allocations: 0 / 271.3 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.008421, allocations: 38.56 kB / 271.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.008422, allocations: 0 / 271.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003882/0.00881, allocations: 179.3 kB / 271.5 MB, free: 2.055 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.008856, allocations: 81.05 kB / 271.6 MB, free: 1.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.008932, allocations: 134.6 kB / 271.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.008944, allocations: 25.7 kB / 271.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.009004, allocations: 132.2 kB / 271.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.445e-05/0.009038, allocations: 59.52 kB / 272 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.009076, allocations: 37.69 kB / 272 MB, free: 1.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.009159, allocations: 334.7 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.009178, allocations: 12 kB / 272.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/0.009235, allocations: 88.53 kB / 272.4 MB, free: 1.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.327e-05/0.009328, allocations: 116.4 kB / 272.5 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.00933, allocations: 4 kB / 272.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001772/0.009508, allocations: 155.4 kB / 272.7 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.009522, allocations: 8 kB / 272.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.009528, allocations: 0 / 272.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.009695, allocations: 49.94 kB / 272.7 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.009828, allocations: 43.92 kB / 272.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.01131, allocations: 2.534 MB / 275.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.01137, allocations: 15.89 kB / 275.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.01137, allocations: 8 kB / 275.3 MB, free: 13.94 MB / 282.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.708e-05/0.01145, allocations: 117.8 kB / 275.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.01149, allocations: 15.92 kB / 275.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.01151, allocations: 16.78 kB / 275.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.01151, allocations: 0 / 275.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.01152, allocations: 8.062 kB / 275.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01152, allocations: 0 / 275.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.01165, allocations: 113.7 kB / 275.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01166, allocations: 4 kB / 275.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.487e-05/0.01175, allocations: 32.48 kB / 275.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.01176, allocations: 19.88 kB / 275.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.418e-05/0.01185, allocations: 41.73 kB / 275.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.01185, allocations: 4 kB / 275.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.01292, allocations: 2.518 MB / 278.2 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01293, allocations: 4 kB / 278.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.01312, allocations: 324.6 kB / 278.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.01313, allocations: 0 / 278.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.01318, allocations: 8 kB / 278.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.0132, allocations: 11.97 kB / 278.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.01321, allocations: 3.938 kB / 278.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.316e-05/0.01323, allocations: 36.7 kB / 278.6 MB, free: 10.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01323, allocations: 0 / 278.6 MB, free: 10.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.01349, allocations: 55.89 kB / 278.7 MB, free: 10.39 MB / 282.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 8.063e-05/0.01357, allocations: 84.36 kB / 278.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.01387, allocations: 326.2 kB / 279.1 MB, free: 9.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.01388, allocations: 0 / 279.1 MB, free: 9.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.01402, allocations: 278.5 kB / 279.3 MB, free: 9.648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01426, allocations: 43.92 kB / 279.4 MB, free: 9.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.01672, allocations: 402.1 kB / 279.8 MB, free: 9.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.135e-05/0.01677, allocations: 75.98 kB / 279.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.473e-05/0.01681, allocations: 9.484 kB / 279.9 MB, free: 9.078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.01688, allocations: 75.36 kB / 279.9 MB, free: 9.004 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01688, allocations: 0 / 279.9 MB, free: 9.004 MB / 282.7 MB Notification: Performance of Templates: time 0.004391/0.02127, allocations: 2.402 MB / 282.3 MB, free: 6.602 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9114789636805654]