Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.001962/0.001962, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.002066/0.002066, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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 1.359/1.359, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 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.2599/0.2599, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.548e-05/3.752e-05, allocations: 10.25 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002596/0.002634, allocations: 1.845 MB / 348.8 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.002951, allocations: 151.4 kB / 348.9 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.003022, allocations: 4 kB / 348.9 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.626e-05/0.003089, allocations: 23.72 kB / 348.9 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.003229, allocations: 59.5 kB / 349 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.003359, allocations: 35.89 kB / 349 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.0035, allocations: 191 kB / 349.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.003635, allocations: 45.77 kB / 349.3 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.003767, allocations: 103.8 kB / 349.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.003874, allocations: 51.88 kB / 349.4 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.003902, allocations: 12 kB / 349.4 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.986e-05/0.003931, allocations: 16 kB / 349.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.003962, allocations: 39.83 kB / 349.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.004029, allocations: 55.91 kB / 349.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.004218, allocations: 191.4 kB / 349.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.004221, allocations: 0 / 349.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004222, allocations: 0 / 349.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.004227, allocations: 0 / 349.7 MB, free: 6.988 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005141/0.004741, allocations: 491.8 kB / 350.2 MB, free: 6.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.004778, allocations: 8.031 kB / 350.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.00484, allocations: 28.84 kB / 350.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.005009, allocations: 156.4 kB / 350.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.005023, allocations: 8.703 kB / 350.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.005056, allocations: 24.38 kB / 350.4 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.005281, allocations: 175.8 kB / 350.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.005299, allocations: 12.08 kB / 350.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.005314, allocations: 8.375 kB / 350.6 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.00532, allocations: 4.375 kB / 350.6 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.005451, allocations: 83.88 kB / 350.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.006102, allocations: 0.6152 MB / 351.3 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.00628, allocations: 150 kB / 351.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.006344, allocations: 63.36 kB / 351.5 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.006361, allocations: 3.938 kB / 351.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.006375, allocations: 37.39 kB / 351.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.006376, allocations: 0 / 351.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.000676/0.007052, allocations: 236.9 kB / 351.8 MB, free: 4.734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.007085, allocations: 85.05 kB / 351.9 MB, free: 4.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.007192, allocations: 209.6 kB / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.007206, allocations: 29.7 kB / 352.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.007275, allocations: 183 kB / 352.3 MB, free: 4.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.007308, allocations: 59.53 kB / 352.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.007357, allocations: 51.36 kB / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.007447, allocations: 0.4962 MB / 352.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.007502, allocations: 39.98 kB / 352.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-05/0.007584, allocations: 134.5 kB / 353.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.007726, allocations: 192.7 kB / 353.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.007728, allocations: 0 / 353.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003016/0.00803, allocations: 233.1 kB / 353.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.008046, allocations: 8 kB / 353.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.008051, allocations: 0 / 353.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.008297, allocations: 63.28 kB / 353.6 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.008418, allocations: 35.98 kB / 353.6 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.01077, allocations: 3.87 MB / 357.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.94e-05/0.01087, allocations: 15.89 kB / 357.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.01088, allocations: 8 kB / 357.5 MB, free: 14.63 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 (20): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.01106, allocations: 188.6 kB / 357.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.01112, allocations: 15.91 kB / 357.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.01116, allocations: 12.78 kB / 357.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01116, allocations: 4 kB / 357.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.01117, allocations: 4 kB / 357.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01117, allocations: 0 / 357.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.01147, allocations: 192.4 kB / 357.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01148, allocations: 0 / 357.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.01163, allocations: 35.86 kB / 357.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.01181, allocations: 59.34 kB / 358 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01182, allocations: 4 kB / 358 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/0.01509, allocations: 3.861 MB / 361.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01509, allocations: 0 / 361.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/0.01602, allocations: 478.3 kB / 362.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.01605, allocations: 19.88 kB / 362.3 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.01607, allocations: 7.938 kB / 362.3 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.01617, allocations: 4 kB / 362.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.01622, allocations: 16 kB / 362.4 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.01623, allocations: 12.16 kB / 362.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.01636, allocations: 147.2 kB / 362.5 MB, free: 9.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01636, allocations: 0 / 362.5 MB, free: 9.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000473/0.01683, allocations: 59.89 kB / 362.6 MB, free: 9.211 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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,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.0001616/0.01699, allocations: 95.19 kB / 362.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008143/0.01781, allocations: 483.4 kB / 363.1 MB, free: 8.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01781, allocations: 0 / 363.1 MB, free: 8.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004412/0.01825, allocations: 407.3 kB / 363.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.01872, allocations: 38.62 kB / 363.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009752/0.01969, allocations: 0.5177 MB / 364.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.01983, allocations: 120.1 kB / 364.2 MB, free: 7.438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.357e-05/0.01987, allocations: 13.47 kB / 364.2 MB, free: 7.426 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.01991, allocations: 20.44 kB / 364.3 MB, free: 7.402 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01991, allocations: 0 / 364.3 MB, free: 7.402 MB / 298.7 MB Notification: Performance of Templates: time 0.006409/0.02632, allocations: 2.088 MB / 366.3 MB, free: 5.348 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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: 4.978259259951301]