Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001067/0.001067, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.002201, 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.000736/0.000736, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008966/0.001633, 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 0.9866/0.9866, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09281/1.079, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2479/0.2479, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04899/0.2969, allocations: 13.1 MB / 291.3 MB, free: 7.359 MB / 282.7 MB " [Timeout remaining time 180] 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.492e-05, allocations: 7.078 kB / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00482/0.004845, allocations: 2.892 MB / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.006607, allocations: 0.8145 MB / 296.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.006893, allocations: 15.88 kB / 296.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.007083, allocations: 63.31 kB / 296.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.007448, allocations: 134.8 kB / 296.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.007808, allocations: 127.7 kB / 296.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005614/0.008369, allocations: 470.6 kB / 297.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.008645, allocations: 131.4 kB / 297.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005397/0.009185, allocations: 280.4 kB / 297.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.009458, allocations: 143.6 kB / 297.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.009518, allocations: 36 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.009692, allocations: 40 kB / 297.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.009756, allocations: 63.75 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.009898, allocations: 115.8 kB / 297.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.01037, allocations: 286.8 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.846e-05/0.01039, allocations: 0 / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.01039, allocations: 0 / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.01042, allocations: 0 / 298.2 MB, free: 0.6836 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001002/0.01142, allocations: 0.6647 MB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.01147, allocations: 8.031 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.01182, allocations: 165.9 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.01216, allocations: 209.1 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.0122, allocations: 29.38 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.01226, allocations: 48.33 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.01269, allocations: 302.1 kB / 299.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.01271, allocations: 8.172 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.01274, allocations: 16.38 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.01275, allocations: 11.94 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.01296, allocations: 104.4 kB / 299.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.01424, allocations: 0.7588 MB / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.01456, allocations: 219.5 kB / 300.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.01469, allocations: 88.03 kB / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.01471, allocations: 8 kB / 300.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.01475, allocations: 42.5 kB / 300.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 2.845e-06/0.01475, allocations: 0 / 300.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.002916/0.01767, allocations: 1.576 MB / 302.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.01774, allocations: 110.8 kB / 302.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.0179, allocations: 196.9 kB / 302.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.01793, allocations: 33.7 kB / 302.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01805, allocations: 193.2 kB / 302.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.01822, allocations: 206.1 kB / 303.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.01835, allocations: 90.3 kB / 303.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.01849, allocations: 342.8 kB / 303.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/0.01859, allocations: 45.28 kB / 303.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.01875, allocations: 148.8 kB / 303.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.0191, allocations: 256.5 kB / 304 MB, free: 10.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.0191, allocations: 0 / 304 MB, free: 10.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005819/0.01968, allocations: 334.7 kB / 304.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.01971, allocations: 4.094 kB / 304.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.01972, allocations: 8 kB / 304.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/0.02007, allocations: 102.6 kB / 304.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.02048, allocations: 114.2 kB / 304.6 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/0.02395, allocations: 4.33 MB / 308.9 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.02416, allocations: 12 kB / 308.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.02419, allocations: 16 kB / 308.9 MB, free: 5.246 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.02437, allocations: 145.7 kB / 309.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.02447, allocations: 43.91 kB / 309.1 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.02453, allocations: 41.81 kB / 309.1 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.02454, allocations: 8 kB / 309.1 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.02456, allocations: 4 kB / 309.2 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.02457, allocations: 3.984 kB / 309.2 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.02585, allocations: 0.8406 MB / 310 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.02585, allocations: 4 kB / 310 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/0.02639, allocations: 111.8 kB / 310.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.02644, allocations: 31.8 kB / 310.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/0.0267, allocations: 82.59 kB / 310.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.02672, allocations: 15.98 kB / 310.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.02847, allocations: 3.677 MB / 313.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.02848, allocations: 7.938 kB / 313.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.02892, allocations: 0.6206 MB / 314.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.02895, allocations: 16 kB / 314.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.02906, allocations: 12.06 kB / 314.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.02913, allocations: 51.84 kB / 314.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.02914, allocations: 12.19 kB / 314.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.553e-05/0.02919, allocations: 62.03 kB / 314.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02919, allocations: 3.938 kB / 314.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004362/0.02963, allocations: 124 kB / 314.8 MB, free: 14.99 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.0001136/0.02974, allocations: 92.3 kB / 314.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005552/0.03029, allocations: 0.6297 MB / 315.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/0.03031, allocations: 7.984 kB / 315.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.03061, allocations: 0.5154 MB / 316.1 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.03096, allocations: 92.73 kB / 316.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.03609, allocations: 0.8267 MB / 317 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.0362, allocations: 122.4 kB / 317.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.03633, allocations: 27.56 kB / 317.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.03645, allocations: 111.3 kB / 317.2 MB, free: 12.42 MB / 314.7 MB Notification: Performance of SimCode: time 1.794e-06/0.03645, allocations: 0 / 317.2 MB, free: 12.42 MB / 314.7 MB Notification: Performance of Templates: time 0.008017/0.04446, allocations: 4.84 MB / 322.1 MB, free: 7.652 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.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.0080861300230026]