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.0009734/0.0009734, allocations: 95.2 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.0009581/0.0009581, 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.9651/0.9651, 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.1386/0.1386, 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.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.843e-06/1.843e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.883e-05, allocations: 5.406 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00269/0.002719, allocations: 2.863 MB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.003783, allocations: 0.7448 MB / 351.3 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.003931, allocations: 11.94 kB / 351.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.00412, allocations: 67.25 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.004295, allocations: 130.8 kB / 351.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.004575, allocations: 103.8 kB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.004901, allocations: 458.1 kB / 352 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.005128, allocations: 126.8 kB / 352.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.005374, allocations: 259.4 kB / 352.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.005523, allocations: 139.6 kB / 352.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.005561, allocations: 36 kB / 352.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.732e-05/0.005598, allocations: 36 kB / 352.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.005641, allocations: 83.67 kB / 352.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.174e-05/0.005723, allocations: 143.7 kB / 352.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.005981, allocations: 290.8 kB / 353.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.005985, allocations: 4 kB / 353.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005986, allocations: 0 / 353.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.005993, allocations: 7.938 kB / 353.1 MB, free: 3.965 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.0005792/0.006572, allocations: 0.691 MB / 353.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.006612, allocations: 8.031 kB / 353.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.295e-05/0.006695, allocations: 80.64 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.00692, allocations: 240.8 kB / 354.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.00694, allocations: 29.38 kB / 354.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.006989, allocations: 40.38 kB / 354.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.007355, allocations: 322.8 kB / 354.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.007371, allocations: 8.141 kB / 354.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.007394, allocations: 16.38 kB / 354.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.007405, allocations: 11.94 kB / 354.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.007584, allocations: 139.8 kB / 354.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009194/0.008504, allocations: 1.025 MB / 355.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.008801, allocations: 285.4 kB / 356 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.008921, allocations: 115.2 kB / 356.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.008949, allocations: 8 kB / 356.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.008972, allocations: 49.31 kB / 356.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 2.204e-06/0.008974, allocations: 0 / 356.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.002177/0.01115, allocations: 1.76 MB / 357.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.0112, allocations: 114.8 kB / 358 MB, free: 14.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.01136, allocations: 238.9 kB / 358.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.01139, allocations: 37.7 kB / 358.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.01152, allocations: 240.1 kB / 358.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.01164, allocations: 202.2 kB / 358.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.01175, allocations: 92 kB / 358.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.01191, allocations: 0.5195 MB / 359.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.01204, allocations: 61.27 kB / 359.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.01222, allocations: 198.7 kB / 359.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.01257, allocations: 315.9 kB / 359.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.01258, allocations: 7.938 kB / 359.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005881/0.01316, allocations: 447.8 kB / 360.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.01319, allocations: 11.94 kB / 360.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.0132, allocations: 4 kB / 360.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.01352, allocations: 123.1 kB / 360.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.01375, allocations: 91.83 kB / 360.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003654/0.01741, allocations: 6.354 MB / 366.9 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.01755, allocations: 20 kB / 367 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.01757, allocations: 24.08 kB / 367 MB, free: 5.164 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.0001503/0.01772, allocations: 184.5 kB / 367.2 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.0178, allocations: 59.7 kB / 367.2 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.01784, allocations: 41.8 kB / 367.3 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.01785, allocations: 8 kB / 367.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/0.01787, allocations: 4 kB / 367.3 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01788, allocations: 0 / 367.3 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.01901, allocations: 1.199 MB / 368.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.01902, allocations: 4 kB / 368.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.01924, allocations: 91.89 kB / 368.6 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/0.01943, allocations: 99.02 kB / 368.7 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.01945, allocations: 16.17 kB / 368.7 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/0.02184, allocations: 5.412 MB / 374.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.02184, allocations: 3.984 kB / 374.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.02254, allocations: 0.879 MB / 375 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.02257, allocations: 31.89 kB / 375 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.02259, allocations: 20 kB / 375 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.02271, allocations: 12 kB / 375 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.02282, allocations: 51.84 kB / 375.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.02283, allocations: 12 kB / 375.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.969e-05/0.02293, allocations: 180.1 kB / 375.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02293, allocations: 0 / 375.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004835/0.02342, allocations: 120 kB / 375.4 MB, free: 12.24 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.0001375/0.02355, allocations: 115.1 kB / 375.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000772/0.02432, allocations: 0.8329 MB / 376.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.02433, allocations: 0 / 376.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.02474, allocations: 0.6974 MB / 377 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.02516, allocations: 51.09 kB / 377.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.02656, allocations: 0.9534 MB / 378 MB, free: 9.426 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.973e-05/0.02666, allocations: 118.4 kB / 378.1 MB, free: 9.293 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.8e-05/0.02675, allocations: 35.27 kB / 378.2 MB, free: 9.262 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.02681, allocations: 28.5 kB / 378.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02681, allocations: 0 / 378.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of Templates: time 0.007232/0.03404, allocations: 4.442 MB / 382.7 MB, free: 4.832 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] 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","",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.2721345252357423]