Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001037/0.001037, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001016/0.001016, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 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 0.9789/0.9789, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.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.1359/0.1359, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.316e-05, allocations: 4.281 kB / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001855/0.001878, allocations: 1.69 MB / 349.3 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002456/0.002123, allocations: 111.6 kB / 349.4 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.852e-05/0.002192, allocations: 7.938 kB / 349.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.386e-05/0.002246, allocations: 11.86 kB / 349.5 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.002351, allocations: 39.62 kB / 349.5 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.002477, allocations: 27.91 kB / 349.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.002589, allocations: 131.3 kB / 349.7 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.002718, allocations: 25.28 kB / 349.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.452e-05/0.002812, allocations: 79.86 kB / 349.8 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.002878, allocations: 31.91 kB / 349.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.002902, allocations: 11.98 kB / 349.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.002919, allocations: 12 kB / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.002945, allocations: 23.92 kB / 349.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.002984, allocations: 35.92 kB / 349.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.003125, allocations: 79.72 kB / 350 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003127, allocations: 0 / 350 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003128, allocations: 0 / 350 MB, free: 7.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.003133, allocations: 3.938 kB / 350 MB, free: 7.148 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003823/0.003516, allocations: 448.3 kB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.00356, allocations: 8.031 kB / 350.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.003613, allocations: 24.89 kB / 350.4 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.003743, allocations: 136.5 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.003754, allocations: 12.55 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.003782, allocations: 16.38 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.003917, allocations: 109.3 kB / 350.7 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.003929, allocations: 8.141 kB / 350.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.003942, allocations: 4.375 kB / 350.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.00395, allocations: 4.375 kB / 350.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.646e-05/0.004007, allocations: 47.83 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.004481, allocations: 0.5256 MB / 351.3 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.062e-05/0.004572, allocations: 94.11 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.004599, allocations: 23.38 kB / 351.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.004608, allocations: 4 kB / 351.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.004626, allocations: 37.39 kB / 351.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.004627, allocations: 0 / 351.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003536/0.004981, allocations: 152.8 kB / 351.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.005006, allocations: 77.11 kB / 351.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.068e-05/0.005067, allocations: 185.8 kB / 351.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.26e-06/0.005072, allocations: 25.7 kB / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.005114, allocations: 162.6 kB / 352 MB, free: 4.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.005133, allocations: 35.73 kB / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.005164, allocations: 39.36 kB / 352.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.005217, allocations: 0.4884 MB / 352.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.005237, allocations: 12 kB / 352.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.005285, allocations: 107.1 kB / 352.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.005369, allocations: 136.7 kB / 352.8 MB, free: 3.938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.005371, allocations: 0 / 352.8 MB, free: 3.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001496/0.005521, allocations: 160.7 kB / 353 MB, free: 3.766 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.005532, allocations: 11.94 kB / 353 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.005538, allocations: 4 kB / 353 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.005686, allocations: 39.36 kB / 353.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.005747, allocations: 19.98 kB / 353.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009163/0.006663, allocations: 3.472 MB / 356.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.006696, allocations: 7.953 kB / 356.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.006705, allocations: 4 kB / 356.6 MB, free: 15.95 MB / 298.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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.00681, allocations: 176.6 kB / 356.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.006841, allocations: 15.98 kB / 356.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.601e-05/0.006857, allocations: 8 kB / 356.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.006858, allocations: 0 / 356.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.006863, allocations: 4 kB / 356.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.006867, allocations: 0 / 356.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.007016, allocations: 148.5 kB / 356.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.007019, allocations: 0 / 356.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.007078, allocations: 15.98 kB / 356.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.553e-05/0.007173, allocations: 43.3 kB / 357 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.007183, allocations: 4 kB / 357 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.008734, allocations: 3.452 MB / 360.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.008735, allocations: 0 / 360.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.008978, allocations: 390.3 kB / 360.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.008988, allocations: 15.89 kB / 360.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-06/0.008995, allocations: 0 / 360.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.009045, allocations: 11.98 kB / 360.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.009073, allocations: 7.984 kB / 360.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.009078, allocations: 3.938 kB / 360.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.147e-05/0.009129, allocations: 135.3 kB / 361 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.009129, allocations: 0 / 361 MB, free: 11.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.009352, allocations: 39.94 kB / 361 MB, free: 11.17 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.137e-05/0.009444, allocations: 95.25 kB / 361.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.009806, allocations: 403.6 kB / 361.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.009809, allocations: 12.06 kB / 361.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.009968, allocations: 371.3 kB / 361.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.01026, allocations: 24.05 kB / 361.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/0.01095, allocations: 394.5 kB / 362.3 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.809e-05/0.01101, allocations: 75.92 kB / 362.4 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.808e-05/0.01103, allocations: 8.984 kB / 362.4 MB, free: 9.676 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.01106, allocations: 12.5 kB / 362.4 MB, free: 9.664 MB / 298.7 MB Notification: Performance of SimCode: time 1.513e-06/0.01106, allocations: 4 kB / 362.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of Templates: time 0.003978/0.01504, allocations: 1.75 MB / 364.1 MB, free: 7.945 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.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.190401280298829]