Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001613/0.001613, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.0017/0.0017, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.348/0.348, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.393e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003522/0.003556, allocations: 1.791 MB / 379.1 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004106/0.003966, allocations: 159.4 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.004036, allocations: 0 / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.623e-05/0.004112, allocations: 31.72 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.004285, allocations: 55.48 kB / 379.3 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.004447, allocations: 43.88 kB / 379.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.004692, allocations: 187 kB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.004863, allocations: 45.64 kB / 379.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.005041, allocations: 99.84 kB / 379.7 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.005165, allocations: 55.81 kB / 379.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.005199, allocations: 12 kB / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.171e-05/0.00524, allocations: 16 kB / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.005283, allocations: 31.89 kB / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.005373, allocations: 63.84 kB / 379.8 MB, free: 404 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.005639, allocations: 183.4 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.005643, allocations: 0 / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005644, allocations: 0 / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.00565, allocations: 0 / 380 MB, free: 220 kB / 346.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.0007164/0.006367, allocations: 385.9 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.006414, allocations: 12.03 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.006498, allocations: 32.84 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.006736, allocations: 141.6 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.006757, allocations: 12.7 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.006806, allocations: 16.38 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.007158, allocations: 166.2 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.00718, allocations: 8.141 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.007202, allocations: 4.375 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.007211, allocations: 8.375 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.007403, allocations: 99.81 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.008314, allocations: 488.1 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.008572, allocations: 129.1 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.008667, allocations: 45.7 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.008686, allocations: 7.938 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.008726, allocations: 34.56 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.008728, allocations: 0 / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008211/0.009549, allocations: 227.3 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.009621, allocations: 85.05 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.009792, allocations: 138 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.009816, allocations: 25.7 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.009946, allocations: 144.2 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.01001, allocations: 51.59 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.01009, allocations: 37.67 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.01028, allocations: 322.8 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.01036, allocations: 43.83 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.01051, allocations: 100.5 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.01075, allocations: 160.4 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01075, allocations: 0 / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007111/0.01146, allocations: 227 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.01148, allocations: 8.25 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.01149, allocations: 8 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.01174, allocations: 45.7 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.01188, allocations: 39.92 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.01474, allocations: 2.742 MB / 385.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.092e-05/0.01483, allocations: 15.89 kB / 386 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.01485, allocations: 12 kB / 386 MB, free: 9.77 MB / 362.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.0001636/0.01501, allocations: 129.7 kB / 386.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.01507, allocations: 15.95 kB / 386.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.01512, allocations: 20.94 kB / 386.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01512, allocations: 0 / 386.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.01513, allocations: 4 kB / 386.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01514, allocations: 3.984 kB / 386.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.01546, allocations: 165.1 kB / 386.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01546, allocations: 0 / 386.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.01562, allocations: 27.92 kB / 386.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.01579, allocations: 49.69 kB / 386.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.01581, allocations: 12 kB / 386.4 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002968/0.01878, allocations: 2.73 MB / 389.1 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01878, allocations: 0 / 389.1 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.01932, allocations: 376.6 kB / 389.5 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.01933, allocations: 15.84 kB / 389.5 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01936, allocations: 12 kB / 389.5 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.01946, allocations: 0 / 389.5 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.0195, allocations: 15.91 kB / 389.5 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.01951, allocations: 8 kB / 389.5 MB, free: 5.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.472e-05/0.0196, allocations: 98.78 kB / 389.6 MB, free: 5.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0196, allocations: 0 / 389.6 MB, free: 5.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004835/0.02008, allocations: 59.89 kB / 389.7 MB, free: 5.777 MB / 362.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.0001463/0.02023, allocations: 95.34 kB / 389.8 MB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009311/0.02116, allocations: 344.8 kB / 390.1 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02116, allocations: 3.938 kB / 390.1 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003844/0.02154, allocations: 294.3 kB / 390.4 MB, free: 4.996 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.02211, allocations: 32.11 kB / 390.4 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.02316, allocations: 0.5209 MB / 391 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.0233, allocations: 112.2 kB / 391.1 MB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.232e-05/0.02334, allocations: 5.5 kB / 391.1 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.02338, allocations: 20.5 kB / 391.1 MB, free: 4.258 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02338, allocations: 0 / 391.1 MB, free: 4.258 MB / 362.7 MB Notification: Performance of Templates: time 0.006251/0.02964, allocations: 2.081 MB / 393.2 MB, free: 2.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.941851007984951]