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.001469/0.001469, allocations: 71.75 kB / 21.24 MB, free: 0.5391 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.002621/0.002621, allocations: 162.2 kB / 24.5 MB, free: 3.707 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.497/1.497, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.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.2266/0.2266, allocations: 32.8 MB / 294.1 MB, free: 4 kB / 270.1 MB " [Timeout remaining time 179] 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.002145/0.002145, allocations: 59.91 kB / 440.5 MB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, allocations: 65.44 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002523/0.344, allocations: 1.787 MB / 0.4959 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003517/0.3443, allocations: 155.1 kB / 0.496 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.3444, allocations: 2.875 kB / 0.496 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.213e-05/0.3445, allocations: 25.72 kB / 0.496 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.3446, allocations: 52.55 kB / 0.4961 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.3448, allocations: 37.19 kB / 0.4961 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.345, allocations: 190.3 kB / 0.4963 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.3452, allocations: 40.97 kB / 0.4964 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3453, allocations: 68.61 kB / 0.4964 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3455, allocations: 65.05 kB / 0.4965 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.3455, allocations: 15.12 kB / 0.4965 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.055e-05/0.3455, allocations: 12.34 kB / 0.4965 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.3456, allocations: 41.27 kB / 0.4965 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.993e-05/0.3456, allocations: 65.59 kB / 0.4966 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.3458, allocations: 184.2 kB / 0.4968 GB, free: 29.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3458, allocations: 4 kB / 0.4968 GB, free: 29.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3458, allocations: 0 / 0.4968 GB, free: 29.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3458, allocations: 3.156 kB / 0.4968 GB, free: 29.69 MB / 446.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.0004889/0.3463, allocations: 381.8 kB / 0.4972 GB, free: 29.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3464, allocations: 16.56 kB / 0.4972 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.3464, allocations: 17.97 kB / 0.4972 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.3466, allocations: 141.7 kB / 0.4973 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3466, allocations: 14.67 kB / 0.4973 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.3466, allocations: 20.67 kB / 0.4974 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.3469, allocations: 166.4 kB / 0.4975 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3469, allocations: 4.188 kB / 0.4975 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.3469, allocations: 14.78 kB / 0.4975 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3469, allocations: 3.062 kB / 0.4975 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.347, allocations: 89.2 kB / 0.4976 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.3476, allocations: 0.4939 MB / 0.4981 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3478, allocations: 123.1 kB / 0.4982 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.3479, allocations: 49.45 kB / 0.4983 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.3479, allocations: 0 / 0.4983 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.3479, allocations: 41.69 kB / 0.4983 GB, free: 28.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.3479, allocations: 0 / 0.4983 GB, free: 28.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000651/0.3485, allocations: 221.7 kB / 0.4985 GB, free: 28.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3486, allocations: 84.23 kB / 0.4986 GB, free: 28.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.3487, allocations: 130.7 kB / 0.4987 GB, free: 28.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.3487, allocations: 32.86 kB / 0.4988 GB, free: 28.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.3487, allocations: 129.4 kB / 0.4989 GB, free: 28.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.3487, allocations: 61.11 kB / 0.4989 GB, free: 27.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.3488, allocations: 38.17 kB / 0.499 GB, free: 27.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.3488, allocations: 321.5 kB / 0.4993 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.3489, allocations: 34.95 kB / 0.4993 GB, free: 27.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.349, allocations: 109 kB / 0.4994 GB, free: 27.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3491, allocations: 158.7 kB / 0.4996 GB, free: 27.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3491, allocations: 3.25 kB / 0.4996 GB, free: 27.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002879/0.3494, allocations: 239 kB / 0.4998 GB, free: 27.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3494, allocations: 3.156 kB / 0.4998 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3494, allocations: 3.25 kB / 0.4998 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.3496, allocations: 49.23 kB / 0.4999 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3497, allocations: 35.58 kB / 0.4999 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.3511, allocations: 2.727 MB / 0.5026 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.3512, allocations: 22.27 kB / 0.5026 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3512, allocations: 6.156 kB / 0.5026 GB, free: 24.53 MB / 446.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 8.26e-05/0.3513, allocations: 134.8 kB / 0.5027 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.3513, allocations: 14.31 kB / 0.5027 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.3513, allocations: 16.78 kB / 0.5027 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3513, allocations: 2.875 kB / 0.5027 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3513, allocations: 3.344 kB / 0.5027 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3513, allocations: 7.406 kB / 0.5027 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.3515, allocations: 157.2 kB / 0.5029 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3515, allocations: 3.281 kB / 0.5029 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.3517, allocations: 22.39 kB / 0.5029 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.3518, allocations: 54.66 kB / 0.503 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3518, allocations: 7.156 kB / 0.503 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.3531, allocations: 2.723 MB / 0.5056 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3531, allocations: 0 / 0.5056 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.3534, allocations: 377 kB / 0.506 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.3534, allocations: 18.53 kB / 0.506 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3534, allocations: 11.41 kB / 0.506 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3535, allocations: 0 / 0.506 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.3535, allocations: 14.11 kB / 0.506 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-06/0.3535, allocations: 6.609 kB / 0.506 GB, free: 21.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.69e-05/0.3536, allocations: 99.61 kB / 0.5061 GB, free: 21.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3536, allocations: 3.312 kB / 0.5061 GB, free: 21.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004128/0.354, allocations: 56.95 kB / 0.5062 GB, free: 21.1 MB / 446.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 8.304e-05/0.354, allocations: 102.9 kB / 0.5063 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.3545, allocations: 342 kB / 0.5066 GB, free: 20.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3545, allocations: 0 / 0.5066 GB, free: 20.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.3547, allocations: 280.2 kB / 0.5069 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.3552, allocations: 35.95 kB / 0.5069 GB, free: 20.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007692/0.3559, allocations: 0.6337 MB / 0.5075 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.75e-05/0.356, allocations: 113.8 kB / 0.5077 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.59e-05/0.3561, allocations: 15.58 kB / 0.5077 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.3561, allocations: 15 kB / 0.5077 GB, free: 19.9 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3561, allocations: 0 / 0.5077 GB, free: 19.9 MB / 446.1 MB Notification: Performance of Templates: time 0.00465/0.3607, allocations: 2.051 MB / 0.5097 GB, free: 19.62 MB / 446.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 -s ida -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: 5.091896672965959]