Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001621/0.001621, allocations: 76.81 kB / 19.93 MB, free: 1.781 MB / 14.72 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.002045/0.002045, allocations: 166.3 kB / 23.21 MB, free: 4.906 MB / 14.72 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.566/1.566, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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.2581/0.2581, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.099e-05/4.293e-05, allocations: 2.281 kB / 407.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.006058/0.006101, allocations: 2.63 MB / 410 MB, free: 388 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.008495, allocations: 0.7289 MB / 410.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004621/0.008957, allocations: 11.94 kB / 410.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.00929, allocations: 71.31 kB / 410.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005489/0.009839, allocations: 130.8 kB / 410.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.01027, allocations: 91.81 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000688/0.01096, allocations: 466.1 kB / 411.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.01128, allocations: 134.7 kB / 411.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003856/0.01166, allocations: 259.5 kB / 411.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.0119, allocations: 135.6 kB / 412 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.65e-05/0.01198, allocations: 36 kB / 412 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.486e-05/0.01206, allocations: 36 kB / 412.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.01218, allocations: 91.59 kB / 412.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.01236, allocations: 135.7 kB / 412.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006454/0.013, allocations: 458.4 kB / 412.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.01301, allocations: 0 / 412.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01301, allocations: 0 / 412.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.01302, allocations: 0 / 412.7 MB, free: 13.62 MB / 350.1 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.001325/0.01434, allocations: 0.5911 MB / 413.3 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.0144, allocations: 11.97 kB / 413.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.01451, allocations: 52.64 kB / 413.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.01508, allocations: 230.1 kB / 413.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.01513, allocations: 29.38 kB / 413.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.01521, allocations: 44.36 kB / 413.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.01595, allocations: 377.6 kB / 414 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.01598, allocations: 8.141 kB / 414 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.01602, allocations: 16.38 kB / 414.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.01604, allocations: 11.94 kB / 414.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005598/0.0166, allocations: 247.8 kB / 414.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.01838, allocations: 0.9034 MB / 415.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.01903, allocations: 327.5 kB / 415.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.01937, allocations: 162.6 kB / 415.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.0194, allocations: 8 kB / 415.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.01944, allocations: 46.5 kB / 415.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/0.01944, allocations: 0 / 415.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.004252/0.02369, allocations: 2.001 MB / 417.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/0.02378, allocations: 110.8 kB / 417.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.02403, allocations: 192 kB / 418 MB, free: 7.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.02407, allocations: 33.7 kB / 418.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.02423, allocations: 201.4 kB / 418.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.02443, allocations: 202.2 kB / 418.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.02457, allocations: 86.34 kB / 418.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.02476, allocations: 338.8 kB / 418.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.02506, allocations: 133.2 kB / 419 MB, free: 6.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.02545, allocations: 236.7 kB / 419.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007184/0.02617, allocations: 398.1 kB / 419.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.02617, allocations: 3.938 kB / 419.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001138/0.02731, allocations: 0.5463 MB / 420.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.02733, allocations: 16.03 kB / 420.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.02734, allocations: 4 kB / 420.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004049/0.02775, allocations: 122.4 kB / 420.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.02816, allocations: 99.88 kB / 420.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005215/0.03338, allocations: 4.799 MB / 425.2 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.03381, allocations: 19.98 kB / 425.2 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.03386, allocations: 20 kB / 425.3 MB, free: 304 kB / 350.1 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.0002892/0.03415, allocations: 169.8 kB / 425.4 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.03427, allocations: 47.62 kB / 425.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.03437, allocations: 45.8 kB / 425.5 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.03438, allocations: 8 kB / 425.5 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/0.0344, allocations: 4 kB / 425.5 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.03441, allocations: 3.984 kB / 425.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.03664, allocations: 1.183 MB / 426.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.03664, allocations: 192 / 426.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.03713, allocations: 99.89 kB / 426.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003305/0.03746, allocations: 98.55 kB / 426.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.0375, allocations: 11.98 kB / 426.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004109/0.0416, allocations: 4.037 MB / 431 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.04161, allocations: 4.031 kB / 431 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.04322, allocations: 0.9104 MB / 431.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.319e-05/0.0433, allocations: 31.83 kB / 431.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.04335, allocations: 12.06 kB / 431.9 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.04363, allocations: 15.98 kB / 431.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.04377, allocations: 51.8 kB / 432 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.04381, allocations: 19.94 kB / 432 MB, free: 9.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.044, allocations: 140.4 kB / 432.1 MB, free: 8.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.044, allocations: 0 / 432.1 MB, free: 8.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000807/0.0448, allocations: 120 kB / 432.3 MB, free: 8.879 MB / 366.1 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.0001994/0.045, allocations: 127 kB / 432.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.04664, allocations: 0.7509 MB / 433.1 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.04664, allocations: 4.188 kB / 433.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009681/0.04761, allocations: 0.5622 MB / 433.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008125/0.04842, allocations: 57.91 kB / 433.8 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.05048, allocations: 0.9466 MB / 434.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.0508, allocations: 224.9 kB / 434.9 MB, free: 6.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.05094, allocations: 31.27 kB / 435 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.05102, allocations: 24.5 kB / 435 MB, free: 6.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.82e-07/0.05103, allocations: 4 kB / 435 MB, free: 6.016 MB / 366.1 MB Notification: Performance of Templates: time 0.0117/0.06273, allocations: 4.352 MB / 439.3 MB, free: 1.699 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.520129602402449]