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.001902/0.001902, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002363/0.002363, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3509/0.3509, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.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 2.705e-06/2.705e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.096e-05, allocations: 2.312 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004453/0.004484, allocations: 2.672 MB / 379.9 MB, free: 308 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.006485, allocations: 0.7789 MB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.006749, allocations: 11.94 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.007, allocations: 55.39 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.007333, allocations: 138.8 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.007748, allocations: 127.7 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.008321, allocations: 462.1 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.008602, allocations: 130.7 kB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004451/0.009047, allocations: 263.4 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.009288, allocations: 139.6 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.009356, allocations: 36 kB / 382.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.009462, allocations: 39.98 kB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.009551, allocations: 87.61 kB / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.009736, allocations: 143.7 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.01037, allocations: 454.4 kB / 382.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.01038, allocations: 0 / 382.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01038, allocations: 0 / 382.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.01039, allocations: 0 / 382.8 MB, free: 13.46 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001149/0.01154, allocations: 0.6067 MB / 383.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.01158, allocations: 12.02 kB / 383.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.01202, allocations: 100.6 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.0125, allocations: 237.1 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.01254, allocations: 33.38 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-05/0.01263, allocations: 48.31 kB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/0.01341, allocations: 385.5 kB / 384.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.01344, allocations: 12.12 kB / 384.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.01349, allocations: 16.38 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.0135, allocations: 11.94 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.01409, allocations: 243.8 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.01586, allocations: 0.9113 MB / 385.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.0165, allocations: 324 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.01685, allocations: 158.7 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.01688, allocations: 12 kB / 385.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.01693, allocations: 42.55 kB / 385.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.903e-06/0.01693, allocations: 0 / 385.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.004671/0.0216, allocations: 2.01 MB / 387.9 MB, free: 8.023 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.02171, allocations: 114.8 kB / 388 MB, free: 7.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.02194, allocations: 196.2 kB / 388.2 MB, free: 7.684 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.02199, allocations: 41.7 kB / 388.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.02215, allocations: 189.4 kB / 388.4 MB, free: 7.449 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.02236, allocations: 210.2 kB / 388.6 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.0225, allocations: 86.28 kB / 388.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.02272, allocations: 346.8 kB / 389.1 MB, free: 6.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.02303, allocations: 125.2 kB / 389.2 MB, free: 6.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.02342, allocations: 232.8 kB / 389.4 MB, free: 6.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.02416, allocations: 401.9 kB / 389.8 MB, free: 5.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.02416, allocations: 3.938 kB / 389.8 MB, free: 5.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001247/0.02541, allocations: 0.5697 MB / 390.4 MB, free: 5.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.02544, allocations: 11.94 kB / 390.4 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.02545, allocations: 4 kB / 390.4 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004922/0.02594, allocations: 122.5 kB / 390.5 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.02635, allocations: 99.89 kB / 390.6 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005787/0.03214, allocations: 4.831 MB / 395.4 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.03242, allocations: 16 kB / 395.4 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.03251, allocations: 23.98 kB / 395.5 MB, free: 15.98 MB / 378.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.0002884/0.0328, allocations: 165.7 kB / 395.6 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.03295, allocations: 51.75 kB / 395.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.03307, allocations: 53.86 kB / 395.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.03308, allocations: 4 kB / 395.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.0331, allocations: 4 kB / 395.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.0331, allocations: 0 / 395.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.03555, allocations: 1.19 MB / 396.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.03556, allocations: 4 kB / 396.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.036, allocations: 96.06 kB / 397 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/0.03636, allocations: 94.61 kB / 397.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.03642, allocations: 20 kB / 397.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004296/0.04072, allocations: 4.045 MB / 401.2 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.04072, allocations: 4.031 kB / 401.2 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.04264, allocations: 0.9437 MB / 402.1 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.04272, allocations: 27.77 kB / 402.2 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.04276, allocations: 12.06 kB / 402.2 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.04304, allocations: 20 kB / 402.2 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.04317, allocations: 51.84 kB / 402.2 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.0432, allocations: 16 kB / 402.3 MB, free: 8.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.04337, allocations: 141.9 kB / 402.4 MB, free: 8.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04337, allocations: 0 / 402.4 MB, free: 8.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007777/0.04415, allocations: 120 kB / 402.5 MB, free: 8.52 MB / 378.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.0001916/0.04434, allocations: 119.1 kB / 402.6 MB, free: 8.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.04593, allocations: 0.7611 MB / 403.4 MB, free: 7.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.04593, allocations: 0 / 403.4 MB, free: 7.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009453/0.04688, allocations: 0.5607 MB / 404 MB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.04759, allocations: 59.39 kB / 404 MB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.04967, allocations: 0.9788 MB / 405 MB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.04997, allocations: 216.9 kB / 405.2 MB, free: 5.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.05011, allocations: 31.28 kB / 405.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.872e-05/0.0502, allocations: 36.48 kB / 405.3 MB, free: 5.613 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.0502, allocations: 0 / 405.3 MB, free: 5.613 MB / 378.7 MB Notification: Performance of Templates: time 0.01152/0.06172, allocations: 4.405 MB / 409.7 MB, free: 1.25 MB / 378.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.027406341978349]