Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001674/0.001674, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001873/0.001873, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2182/0.2182, allocations: 44.91 MB / 359.6 MB, free: 6.238 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 71.89 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3129, allocations: 65.46 MB / 0.5582 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003214/0.3161, allocations: 1.879 MB / 0.5601 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000347/0.3164, allocations: 147.5 kB / 0.5602 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.3165, allocations: 7.938 kB / 0.5602 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.209e-05/0.3166, allocations: 23.78 kB / 0.5602 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.3167, allocations: 51.56 kB / 0.5603 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.3169, allocations: 39.89 kB / 0.5603 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.3171, allocations: 195.1 kB / 0.5605 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3172, allocations: 33.73 kB / 0.5605 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.3174, allocations: 75.72 kB / 0.5606 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3175, allocations: 75.69 kB / 0.5607 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.3175, allocations: 12 kB / 0.5607 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.215e-05/0.3175, allocations: 16 kB / 0.5607 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.3176, allocations: 35.86 kB / 0.5607 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3177, allocations: 87.59 kB / 0.5608 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.3179, allocations: 177.7 kB / 0.561 GB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3179, allocations: 3.984 kB / 0.561 GB, free: 4.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3179, allocations: 4 kB / 0.561 GB, free: 4.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3179, allocations: 0 / 0.561 GB, free: 4.82 MB / 398.1 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.0005733/0.3185, allocations: 376.2 kB / 0.5614 GB, free: 4.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3185, allocations: 15.97 kB / 0.5614 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.3186, allocations: 20.84 kB / 0.5614 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3188, allocations: 146.3 kB / 0.5615 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3188, allocations: 8.703 kB / 0.5615 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.3189, allocations: 20.33 kB / 0.5616 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.3192, allocations: 166.2 kB / 0.5617 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.3192, allocations: 4.125 kB / 0.5617 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.3192, allocations: 15.94 kB / 0.5617 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3192, allocations: 4 kB / 0.5617 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.3194, allocations: 87.88 kB / 0.5618 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.3205, allocations: 0.554 MB / 0.5624 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.3207, allocations: 129.1 kB / 0.5625 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.3208, allocations: 57.83 kB / 0.5626 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3208, allocations: 3.984 kB / 0.5626 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3209, allocations: 34.56 kB / 0.5626 GB, free: 3.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3209, allocations: 0 / 0.5626 GB, free: 3.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008163/0.3217, allocations: 227 kB / 0.5628 GB, free: 2.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.3217, allocations: 81.11 kB / 0.5629 GB, free: 2.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3219, allocations: 129.2 kB / 0.563 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.3219, allocations: 29.7 kB / 0.563 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.322, allocations: 128.2 kB / 0.5632 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.3221, allocations: 67.47 kB / 0.5632 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.3221, allocations: 33.72 kB / 0.5633 GB, free: 2.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3223, allocations: 326.8 kB / 0.5636 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.3224, allocations: 35.98 kB / 0.5636 GB, free: 1.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.3225, allocations: 104.5 kB / 0.5637 GB, free: 1.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.3228, allocations: 160.5 kB / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3228, allocations: 0 / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003918/0.3232, allocations: 219.2 kB / 0.5641 GB, free: 1.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3232, allocations: 12.02 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3232, allocations: 4 kB / 0.5641 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.3234, allocations: 45.7 kB / 0.5641 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.3236, allocations: 35.92 kB / 0.5642 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.3262, allocations: 2.799 MB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.3263, allocations: 12.36 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.3263, allocations: 12 kB / 0.5669 GB, free: 14.25 MB / 414.1 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.000143/0.3264, allocations: 131.6 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.3265, allocations: 15.91 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.3265, allocations: 20.64 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3265, allocations: 7.938 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3265, allocations: 0 / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3265, allocations: 3.938 kB / 0.5671 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.3268, allocations: 200.6 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3268, allocations: 0 / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.327, allocations: 27.98 kB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/0.3272, allocations: 49.69 kB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3272, allocations: 7.938 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.3297, allocations: 2.783 MB / 0.5701 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3297, allocations: 0 / 0.5701 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.3302, allocations: 376.5 kB / 0.5704 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.3302, allocations: 11.89 kB / 0.5704 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.3302, allocations: 4 kB / 0.5704 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3303, allocations: 8 kB / 0.5705 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.3303, allocations: 15.91 kB / 0.5705 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3304, allocations: 4 kB / 0.5705 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.165e-05/0.3304, allocations: 99.27 kB / 0.5706 GB, free: 10.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3304, allocations: 4 kB / 0.5706 GB, free: 10.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004721/0.3309, allocations: 55.95 kB / 0.5706 GB, free: 10.13 MB / 414.1 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.0001297/0.331, allocations: 95.19 kB / 0.5707 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006108/0.3316, allocations: 345.6 kB / 0.571 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3317, allocations: 0 / 0.571 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.332, allocations: 281.2 kB / 0.5713 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.3325, allocations: 28.53 kB / 0.5713 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3337, allocations: 0.6705 MB / 0.572 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.3341, allocations: 0.7281 MB / 0.5727 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.3341, allocations: 11.44 kB / 0.5727 GB, free: 7.867 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3341, allocations: 0 / 0.5727 GB, free: 7.867 MB / 414.1 MB Notification: Performance of Templates: time 0.005749/0.3398, allocations: 3.167 MB / 0.5758 GB, free: 4.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.257836061995476]