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.0009386/0.0009386, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009898/0.0009898, allocations: 165 kB / 24.99 MB, free: 8.789 MB / 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.2584/0.2584, allocations: 34.27 MB / 296 MB, free: 0.6875 MB / 266.7 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 1.803e-06/1.803e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.185e-05, allocations: 2.312 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003063/0.003085, allocations: 1.896 MB / 379.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004174/0.003502, allocations: 151.5 kB / 380 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.003598, allocations: 7.938 kB / 380 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.721e-05/0.003675, allocations: 19.73 kB / 380.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.003831, allocations: 51.5 kB / 380.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.003991, allocations: 39.94 kB / 380.2 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.004213, allocations: 191 kB / 380.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.004365, allocations: 37.78 kB / 380.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.004528, allocations: 107.8 kB / 380.5 MB, free: 484 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.004652, allocations: 55.88 kB / 380.5 MB, free: 428 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.004692, allocations: 16 kB / 380.6 MB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.931e-05/0.004722, allocations: 16 kB / 380.6 MB, free: 396 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.004763, allocations: 35.84 kB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/0.00484, allocations: 55.91 kB / 380.7 MB, free: 304 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.005058, allocations: 127.4 kB / 380.8 MB, free: 176 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.00506, allocations: 0 / 380.8 MB, free: 176 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005061, allocations: 0 / 380.8 MB, free: 176 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005065, allocations: 0 / 380.8 MB, free: 176 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.0005805/0.005646, allocations: 476.3 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.005689, allocations: 12.03 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.352e-05/0.005762, allocations: 32.84 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.005958, allocations: 156.3 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.005976, allocations: 8.703 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.006018, allocations: 24.31 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.006283, allocations: 139.8 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.006303, allocations: 8.141 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.006322, allocations: 8.375 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.006334, allocations: 4.375 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.006469, allocations: 59.88 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.007234, allocations: 0.5878 MB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.007483, allocations: 122.1 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.271e-05/0.007556, allocations: 39.36 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.007568, allocations: 7.938 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.007594, allocations: 37.52 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.007595, allocations: 0 / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006576/0.008253, allocations: 208.8 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.008294, allocations: 89.05 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.008414, allocations: 185.8 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.008431, allocations: 25.7 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.008514, allocations: 183 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.00856, allocations: 63.47 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.008622, allocations: 51.22 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.008752, allocations: 0.4923 MB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/0.00881, allocations: 23.98 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.008914, allocations: 119.8 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.009088, allocations: 152.7 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.009091, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004183/0.00951, allocations: 200.6 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.009527, allocations: 8 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.009534, allocations: 0 / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.009762, allocations: 55.59 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.009897, allocations: 35.92 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.01161, allocations: 3.768 MB / 388.1 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.01166, allocations: 15.89 kB / 388.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.01167, allocations: 8 kB / 388.1 MB, free: 8.223 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 7.602e-05/0.01174, allocations: 180.4 kB / 388.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.01177, allocations: 15.91 kB / 388.3 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.01179, allocations: 16.78 kB / 388.3 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01179, allocations: 4 kB / 388.3 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.0118, allocations: 64 / 388.3 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.0118, allocations: 4 kB / 388.4 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.01195, allocations: 168.5 kB / 388.5 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01195, allocations: 4 kB / 388.5 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.01204, allocations: 23.98 kB / 388.5 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.118e-05/0.01213, allocations: 51.38 kB / 388.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.01214, allocations: 0 / 388.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.01347, allocations: 3.772 MB / 392.4 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01347, allocations: 0 / 392.4 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.01372, allocations: 442.3 kB / 392.8 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.01373, allocations: 11.95 kB / 392.8 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.01374, allocations: 11.94 kB / 392.8 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.688e-05/0.0138, allocations: 3.938 kB / 392.8 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.01382, allocations: 11.98 kB / 392.8 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.01383, allocations: 7.984 kB / 392.8 MB, free: 3.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.01388, allocations: 139.2 kB / 393 MB, free: 3.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01388, allocations: 0 / 393 MB, free: 3.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.01414, allocations: 51.89 kB / 393 MB, free: 3 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 7.108e-05/0.01421, allocations: 103.2 kB / 393.1 MB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.01456, allocations: 451 kB / 393.6 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01456, allocations: 0 / 393.6 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.01473, allocations: 392.5 kB / 394 MB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.015, allocations: 28.17 kB / 394 MB, free: 1.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/0.01574, allocations: 0.5378 MB / 394.5 MB, free: 1.383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.01579, allocations: 75.98 kB / 394.6 MB, free: 1.289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.01582, allocations: 9.484 kB / 394.6 MB, free: 1.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.01584, allocations: 16.5 kB / 394.6 MB, free: 1.262 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01584, allocations: 0 / 394.6 MB, free: 1.262 MB / 362.7 MB Notification: Performance of Templates: time 0.003632/0.01947, allocations: 2.098 MB / 396.7 MB, free: 15.2 MB / 378.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2319185589440167]