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.001532/0.001532, allocations: 81.95 kB / 21.44 MB, free: 3.062 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.001063/0.001063, allocations: 164.2 kB / 24.84 MB, free: 9.305 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.9365/0.9365, allocations: 158.6 MB / 186.7 MB, free: 2.805 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.1271/0.1271, allocations: 32.37 MB / 271.5 MB, free: 14.54 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.703e-06/1.703e-06, allocations: 0 / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.61e-05/3.78e-05, allocations: 6.25 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00306/0.003098, allocations: 1.686 MB / 350.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003398/0.003437, allocations: 107.6 kB / 350.7 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.974e-05/0.003527, allocations: 4 kB / 350.7 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.765e-05/0.003595, allocations: 15.8 kB / 350.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.003727, allocations: 43.64 kB / 350.7 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.003872, allocations: 27.95 kB / 350.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.004018, allocations: 131.3 kB / 350.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.00415, allocations: 17.3 kB / 350.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.004276, allocations: 75.88 kB / 351 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.004362, allocations: 35.89 kB / 351 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.004384, allocations: 8 kB / 351 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.919e-05/0.004403, allocations: 12 kB / 351 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.004433, allocations: 27.84 kB / 351.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.004476, allocations: 43.91 kB / 351.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.004643, allocations: 83.67 kB / 351.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.004647, allocations: 0 / 351.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.004648, allocations: 0 / 351.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.004653, allocations: 0 / 351.2 MB, free: 6.871 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.0003919/0.005045, allocations: 440.4 kB / 351.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.005084, allocations: 8.031 kB / 351.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.00514, allocations: 20.89 kB / 351.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.005288, allocations: 140.4 kB / 351.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.005305, allocations: 12.61 kB / 351.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.005338, allocations: 16.38 kB / 351.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.005495, allocations: 101.3 kB / 351.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.005512, allocations: 12.08 kB / 351.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.005525, allocations: 8.359 kB / 351.9 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.005533, allocations: 4.375 kB / 351.9 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.576e-05/0.005589, allocations: 31.91 kB / 352 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.006119, allocations: 0.5028 MB / 352.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.006221, allocations: 90.02 kB / 352.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.006251, allocations: 31.55 kB / 352.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.00626, allocations: 4 kB / 352.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.006281, allocations: 37.33 kB / 352.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.006282, allocations: 0 / 352.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004177/0.0067, allocations: 132.8 kB / 352.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.006727, allocations: 77.11 kB / 352.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.926e-05/0.006806, allocations: 193.8 kB / 353 MB, free: 4.832 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-06/0.006813, allocations: 25.7 kB / 353.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.006867, allocations: 170.5 kB / 353.2 MB, free: 4.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.006888, allocations: 31.73 kB / 353.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.006934, allocations: 43.34 kB / 353.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.007003, allocations: 496.1 kB / 353.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.864e-05/0.007032, allocations: 11.98 kB / 353.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.007093, allocations: 107 kB / 353.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.56e-05/0.007189, allocations: 128.7 kB / 354 MB, free: 3.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.007193, allocations: 4 kB / 354 MB, free: 3.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002316/0.007425, allocations: 144.7 kB / 354.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.007444, allocations: 8 kB / 354.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.007452, allocations: 0 / 354.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/0.007637, allocations: 43.61 kB / 354.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.00771, allocations: 31.92 kB / 354.2 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.009201, allocations: 3.422 MB / 357.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.009267, allocations: 11.95 kB / 357.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.009275, allocations: 4 kB / 357.7 MB, free: 15.81 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.0001239/0.009399, allocations: 172.4 kB / 357.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.009437, allocations: 11.92 kB / 357.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.009465, allocations: 12 kB / 357.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.009468, allocations: 4.094 kB / 357.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.009474, allocations: 0 / 357.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.009479, allocations: 4 kB / 357.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.00965, allocations: 117.2 kB / 358 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.009652, allocations: 0 / 358 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.009721, allocations: 15.98 kB / 358 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.009821, allocations: 39.36 kB / 358.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.00983, allocations: 3.938 kB / 358.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.01147, allocations: 3.414 MB / 361.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01147, allocations: 3.984 kB / 361.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.0117, allocations: 390.5 kB / 361.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.01171, allocations: 11.89 kB / 361.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.01172, allocations: 3.938 kB / 361.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.01178, allocations: 0 / 361.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.0118, allocations: 11.98 kB / 361.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.0118, allocations: 7.938 kB / 361.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.672e-05/0.01185, allocations: 131.2 kB / 362 MB, free: 11.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01185, allocations: 0 / 362 MB, free: 11.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.01209, allocations: 35.95 kB / 362.1 MB, free: 11.13 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 0.0001521/0.01225, allocations: 99.19 kB / 362.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.01268, allocations: 403.2 kB / 362.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01268, allocations: 0 / 362.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.01292, allocations: 375.8 kB / 362.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.01331, allocations: 31.86 kB / 362.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.01416, allocations: 398.5 kB / 363.3 MB, free: 9.738 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.01422, allocations: 71.95 kB / 363.4 MB, free: 9.648 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.332e-05/0.01426, allocations: 8.969 kB / 363.4 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.01435, allocations: 86.19 kB / 363.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of SimCode: time 1.934e-06/0.01435, allocations: 0 / 363.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of Templates: time 0.004512/0.01886, allocations: 1.841 MB / 365.3 MB, free: 7.742 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.146486269775778]