Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.000807/0.000807, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001847, 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.0007254/0.0007254, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001805, 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.9717/0.9717, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08855/1.06, allocations: 53.66 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.264/0.264, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02223/0.2863, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.934e-05, allocations: 5.406 kB / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002551/0.00257, allocations: 2.88 MB / 295.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.00341, allocations: 0.7872 MB / 296.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.003531, allocations: 11.94 kB / 296.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.003635, allocations: 59.38 kB / 296.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.00379, allocations: 138.8 kB / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.003963, allocations: 103.7 kB / 296.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.004289, allocations: 462.2 kB / 297 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.004466, allocations: 114.7 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.004732, allocations: 275.5 kB / 297.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.00489, allocations: 127.6 kB / 297.5 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.004927, allocations: 36 kB / 297.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.565e-05/0.005013, allocations: 32 kB / 297.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.005052, allocations: 63.75 kB / 297.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.005134, allocations: 115.8 kB / 297.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.005381, allocations: 270.9 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.005391, allocations: 0 / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005392, allocations: 0 / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.005404, allocations: 0 / 298.1 MB, free: 0.8359 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006118/0.006016, allocations: 0.6453 MB / 298.7 MB, free: 168 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.006045, allocations: 8.031 kB / 298.7 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.00623, allocations: 154 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.006422, allocations: 194.7 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.00644, allocations: 25.38 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.006485, allocations: 48.31 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.006758, allocations: 331.3 kB / 299.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.00678, allocations: 16.11 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.0068, allocations: 16.38 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.006809, allocations: 15.94 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.006926, allocations: 101.3 kB / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.007986, allocations: 1.446 MB / 301 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.00818, allocations: 206 kB / 301.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.008233, allocations: 74.36 kB / 301.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.008251, allocations: 11.94 kB / 301.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.008274, allocations: 46.48 kB / 301.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.008276, allocations: 0 / 301.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002408/0.008517, allocations: 162.1 kB / 301.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.008584, allocations: 221.5 kB / 301.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.008715, allocations: 262.7 kB / 302 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.008729, allocations: 29.7 kB / 302 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.008825, allocations: 235.9 kB / 302.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.008883, allocations: 119 kB / 302.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.008956, allocations: 106.2 kB / 302.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.009042, allocations: 346.7 kB / 302.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.009084, allocations: 41.28 kB / 302.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.009262, allocations: 369.1 kB / 303.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.009572, allocations: 0.4921 MB / 303.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.009576, allocations: 0 / 303.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003231/0.009899, allocations: 390.2 kB / 304.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.009915, allocations: 8 kB / 304.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.009926, allocations: 12 kB / 304.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.009941, allocations: 20.03 kB / 304.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.01025, allocations: 176.4 kB / 304.3 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.01026, allocations: 23.92 kB / 304.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.0104, allocations: 63.58 kB / 304.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.01042, allocations: 28 kB / 304.4 MB, free: 9.785 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.224e-05/0.01052, allocations: 161.5 kB / 304.6 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.01059, allocations: 23.98 kB / 304.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.01062, allocations: 37.8 kB / 304.6 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01063, allocations: 11.98 kB / 304.6 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01063, allocations: 0 / 304.6 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01063, allocations: 4 kB / 304.6 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.01122, allocations: 459.3 kB / 305.1 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01122, allocations: 4 kB / 305.1 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.01148, allocations: 106.1 kB / 305.2 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.0115, allocations: 31.75 kB / 305.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01151, allocations: 0 / 305.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.01153, allocations: 12 kB / 305.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.01153, allocations: 15.97 kB / 305.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.01154, allocations: 7.938 kB / 305.3 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.01187, allocations: 0.7353 MB / 306 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.0119, allocations: 16.12 kB / 306 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.01207, allocations: 11.94 kB / 306 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.01211, allocations: 23.89 kB / 306.1 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.01211, allocations: 8 kB / 306.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.847e-05/0.01216, allocations: 84.64 kB / 306.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01216, allocations: 4 kB / 306.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00039/0.01255, allocations: 99.89 kB / 306.2 MB, free: 7.883 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.395e-05/0.01263, allocations: 88.3 kB / 306.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.01284, allocations: 223.4 kB / 306.6 MB, free: 7.562 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.01285, allocations: 4 kB / 306.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.739e-05/0.01291, allocations: 74.97 kB / 306.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.01344, allocations: 108.4 kB / 306.7 MB, free: 7.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.01911, allocations: 0.7878 MB / 307.5 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.01922, allocations: 108.6 kB / 307.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.01934, allocations: 43.27 kB / 307.7 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.01949, allocations: 115.3 kB / 307.8 MB, free: 6.258 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01949, allocations: 0 / 307.8 MB, free: 6.258 MB / 298.7 MB Notification: Performance of Templates: time 0.006592/0.02608, allocations: 3.508 MB / 311.3 MB, free: 2.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.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.7959514502435923]