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.001325/0.001325, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002169/0.002169, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.51/1.51, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 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.2299/0.2299, allocations: 46.97 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002061/0.002061, allocations: 67.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3101, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003108/0.3132, allocations: 1.781 MB / 0.5635 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003349/0.3136, allocations: 151.5 kB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.3136, allocations: 7.938 kB / 0.5637 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.946e-05/0.3137, allocations: 15.8 kB / 0.5637 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.3138, allocations: 55.55 kB / 0.5638 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.314, allocations: 43.83 kB / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.3142, allocations: 187.2 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.3143, allocations: 37.73 kB / 0.564 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3144, allocations: 79.7 kB / 0.5641 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.3146, allocations: 67.7 kB / 0.5642 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.3146, allocations: 16 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.554e-05/0.3146, allocations: 16 kB / 0.5642 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.3147, allocations: 31.86 kB / 0.5642 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.891e-05/0.3147, allocations: 75.7 kB / 0.5643 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.315, allocations: 181.8 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.315, allocations: 0 / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.315, allocations: 4 kB / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.315, allocations: 0 / 0.5645 GB, free: 1.418 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.0005635/0.3155, allocations: 377.9 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3156, allocations: 12.03 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.3156, allocations: 16.84 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.3158, allocations: 150.3 kB / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3158, allocations: 16.64 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.3159, allocations: 24.33 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.3162, allocations: 166.2 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.3162, allocations: 4.188 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.3162, allocations: 7.938 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.3162, allocations: 4 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.3164, allocations: 87.89 kB / 0.5653 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007881/0.3172, allocations: 496.1 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.3174, allocations: 129.1 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.213e-05/0.3175, allocations: 53.7 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3175, allocations: 8.125 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3176, allocations: 30.56 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.3176, allocations: 0 / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008228/0.3184, allocations: 227.1 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.3185, allocations: 81.05 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3186, allocations: 130.1 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.3186, allocations: 29.7 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3187, allocations: 128.2 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.3188, allocations: 63.38 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.3189, allocations: 37.72 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.3191, allocations: 322.8 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.3191, allocations: 35.98 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.3193, allocations: 112 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.3195, allocations: 164.6 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3195, allocations: 0 / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000419/0.3199, allocations: 231.2 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3199, allocations: 4 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.32, allocations: 7.938 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.3202, allocations: 45.7 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.3204, allocations: 31.98 kB / 0.5676 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.323, allocations: 2.734 MB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.3231, allocations: 19.77 kB / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.3231, allocations: 15.98 kB / 0.5703 GB, free: 10.99 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.0001435/0.3232, allocations: 126.1 kB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.3233, allocations: 15.91 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.3233, allocations: 12.72 kB / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3233, allocations: 4 kB / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3233, allocations: 0 / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3233, allocations: 3.938 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.3236, allocations: 161.2 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3236, allocations: 0 / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.3238, allocations: 35.92 kB / 0.5706 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.3239, allocations: 49.69 kB / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.324, allocations: 4 kB / 0.5707 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.3262, allocations: 2.722 MB / 0.5733 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3262, allocations: 224 / 0.5733 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.3267, allocations: 380.4 kB / 0.5737 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.3267, allocations: 15.88 kB / 0.5737 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3267, allocations: 0 / 0.5737 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3268, allocations: 12 kB / 0.5737 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.3269, allocations: 7.984 kB / 0.5737 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3269, allocations: 4 kB / 0.5737 GB, free: 7.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.243e-05/0.327, allocations: 107.2 kB / 0.5738 GB, free: 7.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.327, allocations: 0 / 0.5738 GB, free: 7.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.3274, allocations: 55.89 kB / 0.5739 GB, free: 7.023 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.0001071/0.3275, allocations: 100.8 kB / 0.574 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005807/0.3281, allocations: 341.2 kB / 0.5743 GB, free: 6.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3281, allocations: 288 / 0.5743 GB, free: 6.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.3284, allocations: 289.7 kB / 0.5746 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.3289, allocations: 37.28 kB / 0.5746 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.33, allocations: 0.6494 MB / 0.5752 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3301, allocations: 112.1 kB / 0.5753 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.928e-05/0.3302, allocations: 9.422 kB / 0.5754 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.3302, allocations: 11.44 kB / 0.5754 GB, free: 5.391 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3302, allocations: 8 kB / 0.5754 GB, free: 5.383 MB / 414.1 MB Notification: Performance of Templates: time 0.005838/0.336, allocations: 2.276 MB / 0.5776 GB, free: 3.141 MB / 414.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/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: 5.023471783992136]