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: 73.41 kB / 21.24 MB, free: 0.5547 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.001941/0.001941, allocations: 161.2 kB / 24.5 MB, free: 3.715 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.482/1.482, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.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.2107/0.2107, allocations: 34.27 MB / 295.5 MB, free: 14.57 MB / 286.1 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 0.002142/0.002142, allocations: 75.88 kB / 443.1 MB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3692, allocations: 66 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002823/0.3721, allocations: 1.782 MB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003283/0.3724, allocations: 147.6 kB / 0.4991 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.3725, allocations: 3.156 kB / 0.4991 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.905e-05/0.3726, allocations: 21.89 kB / 0.4991 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.3727, allocations: 56.5 kB / 0.4992 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.3728, allocations: 33.28 kB / 0.4992 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.373, allocations: 189.4 kB / 0.4994 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3731, allocations: 41.34 kB / 0.4994 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.3732, allocations: 74.72 kB / 0.4995 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3733, allocations: 66.67 kB / 0.4996 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.3733, allocations: 15.72 kB / 0.4996 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.773e-05/0.3734, allocations: 12.06 kB / 0.4996 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.3734, allocations: 33.42 kB / 0.4996 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.3735, allocations: 69.91 kB / 0.4997 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.3736, allocations: 184.6 kB / 0.4999 GB, free: 28.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3736, allocations: 0 / 0.4999 GB, free: 28.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3736, allocations: 0 / 0.4999 GB, free: 28.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3737, allocations: 0 / 0.4999 GB, free: 28.13 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.0005603/0.3742, allocations: 393.8 kB / 0.5002 GB, free: 27.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3743, allocations: 12.92 kB / 0.5003 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.3743, allocations: 18.66 kB / 0.5003 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.3745, allocations: 149.8 kB / 0.5004 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3745, allocations: 11.17 kB / 0.5004 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.3746, allocations: 22.17 kB / 0.5004 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3748, allocations: 164.8 kB / 0.5006 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3748, allocations: 7.5 kB / 0.5006 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.3748, allocations: 7.938 kB / 0.5006 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3749, allocations: 6.406 kB / 0.5006 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.375, allocations: 87.78 kB / 0.5007 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.3756, allocations: 0.494 MB / 0.5012 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.3759, allocations: 125.8 kB / 0.5013 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.3759, allocations: 43.89 kB / 0.5013 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3759, allocations: 6.453 kB / 0.5014 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.376, allocations: 30.56 kB / 0.5014 GB, free: 26.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.376, allocations: 3.281 kB / 0.5014 GB, free: 26.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006665/0.3766, allocations: 223 kB / 0.5016 GB, free: 26.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.3767, allocations: 84.14 kB / 0.5017 GB, free: 26.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.3767, allocations: 134.5 kB / 0.5018 GB, free: 26.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.3767, allocations: 25.7 kB / 0.5018 GB, free: 26.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.3768, allocations: 129.7 kB / 0.502 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.3768, allocations: 61.48 kB / 0.502 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.3769, allocations: 42.06 kB / 0.5021 GB, free: 26.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.3769, allocations: 321.5 kB / 0.5024 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.377, allocations: 41.22 kB / 0.5024 GB, free: 26.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.85e-05/0.3771, allocations: 102.2 kB / 0.5025 GB, free: 25.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.3772, allocations: 170.4 kB / 0.5027 GB, free: 25.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3772, allocations: 0 / 0.5027 GB, free: 25.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002908/0.3775, allocations: 226.2 kB / 0.5029 GB, free: 25.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3775, allocations: 6.094 kB / 0.5029 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3775, allocations: 3.219 kB / 0.5029 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.3777, allocations: 53.83 kB / 0.5029 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3779, allocations: 35.88 kB / 0.503 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.3792, allocations: 2.73 MB / 0.5056 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.819e-05/0.3793, allocations: 18.3 kB / 0.5057 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3793, allocations: 13.92 kB / 0.5057 GB, free: 22.96 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 7.87e-05/0.3794, allocations: 127.5 kB / 0.5058 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3795, allocations: 15.06 kB / 0.5058 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.3795, allocations: 16 kB / 0.5058 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3795, allocations: 3.438 kB / 0.5058 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3795, allocations: 0 / 0.5058 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3795, allocations: 11.45 kB / 0.5058 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.3797, allocations: 156.5 kB / 0.506 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3797, allocations: 0 / 0.506 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3799, allocations: 29.41 kB / 0.506 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.38, allocations: 46.8 kB / 0.5061 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.38, allocations: 3.938 kB / 0.5061 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.3813, allocations: 2.723 MB / 0.5087 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3813, allocations: 7.547 kB / 0.5087 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.3816, allocations: 380.3 kB / 0.5091 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.3816, allocations: 10.61 kB / 0.5091 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3816, allocations: 3.219 kB / 0.5091 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3817, allocations: 4.062 kB / 0.5091 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.3817, allocations: 17.66 kB / 0.5091 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3817, allocations: 7.281 kB / 0.5091 GB, free: 19.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.712e-05/0.3818, allocations: 95.09 kB / 0.5092 GB, free: 19.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3818, allocations: 3.938 kB / 0.5092 GB, free: 19.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004308/0.3822, allocations: 57.61 kB / 0.5093 GB, free: 19.53 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 9.503e-05/0.3823, allocations: 94.91 kB / 0.5094 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.3829, allocations: 359.5 kB / 0.5097 GB, free: 19.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3829, allocations: 0 / 0.5097 GB, free: 19.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.3831, allocations: 275.9 kB / 0.51 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.3837, allocations: 31.27 kB / 0.51 GB, free: 18.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.3845, allocations: 0.6419 MB / 0.5106 GB, free: 18.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.977e-05/0.3846, allocations: 114.6 kB / 0.5107 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.611e-05/0.3846, allocations: 7.719 kB / 0.5107 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.3846, allocations: 14.78 kB / 0.5108 GB, free: 18.33 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3846, allocations: 0 / 0.5108 GB, free: 18.33 MB / 446.1 MB Notification: Performance of Templates: time 0.004725/0.3893, allocations: 2.049 MB / 0.5128 GB, free: 18.05 MB / 446.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 ida -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.037719622952864]