Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001778/0.001778, allocations: 82.67 kB / 20.68 MB, free: 1.023 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.002217/0.002217, allocations: 162.8 kB / 23.96 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.61/1.61, allocations: 177.1 MB / 204.3 MB, free: 9.18 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.2233/0.2233, allocations: 34.27 MB / 294.9 MB, free: 14.58 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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 3.938 kB / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.5e-05, allocations: 6.281 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004214/0.004239, allocations: 2.819 MB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008507/0.00509, allocations: 418.5 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.005237, allocations: 7.938 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.005376, allocations: 67.3 kB / 446 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.005722, allocations: 178.4 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.005976, allocations: 103.9 kB / 446.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.006595, allocations: 0.5594 MB / 446.8 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.006864, allocations: 117.1 kB / 446.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004139/0.007278, allocations: 319.3 kB / 447.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.007538, allocations: 147.6 kB / 447.4 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.007603, allocations: 40 kB / 447.4 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.028e-05/0.007683, allocations: 40 kB / 447.5 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.007786, allocations: 103.6 kB / 447.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.007998, allocations: 175.6 kB / 447.7 MB, free: 328 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2183/0.2263, allocations: 0.5183 MB / 448.2 MB, free: 16.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2263, allocations: 1.969 kB / 448.3 MB, free: 16.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2263, allocations: 0.6875 kB / 448.3 MB, free: 16.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.2264, allocations: 2.094 kB / 448.3 MB, free: 16.46 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001046/0.2274, allocations: 0.653 MB / 448.9 MB, free: 16.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.2275, allocations: 8.844 kB / 448.9 MB, free: 16.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.899e-05/0.2276, allocations: 55.33 kB / 449 MB, free: 16.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.2279, allocations: 227 kB / 449.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.2279, allocations: 35.09 kB / 449.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.228, allocations: 57.06 kB / 449.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006902/0.2287, allocations: 464.9 kB / 449.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.2287, allocations: 8.141 kB / 449.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.2288, allocations: 19.84 kB / 449.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.2288, allocations: 12.62 kB / 449.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.2292, allocations: 262.4 kB / 450 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.2311, allocations: 1.494 MB / 451.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.2317, allocations: 398 kB / 451.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.2319, allocations: 152.3 kB / 452.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.2319, allocations: 6.562 kB / 452.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.2319, allocations: 46.47 kB / 452.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 3.386e-06/0.2319, allocations: 1.266 kB / 452.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008274/0.2328, allocations: 360 kB / 452.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/0.2328, allocations: 270.3 kB / 452.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.2331, allocations: 243.8 kB / 453 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.2331, allocations: 31.08 kB / 453 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2333, allocations: 252.4 kB / 453.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.2334, allocations: 191.6 kB / 453.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.2335, allocations: 115.6 kB / 453.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.2336, allocations: 356.3 kB / 453.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.2338, allocations: 117.4 kB / 454 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.2342, allocations: 422.1 kB / 454.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/0.2348, allocations: 0.5661 MB / 455 MB, free: 12.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.2348, allocations: 2.688 kB / 455 MB, free: 12.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008285/0.2356, allocations: 0.5729 MB / 455.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.2357, allocations: 9.953 kB / 455.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.2357, allocations: 10.44 kB / 455.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/0.2357, allocations: 13.91 kB / 455.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.2363, allocations: 183.4 kB / 455.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/0.2363, allocations: 22.61 kB / 455.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.2366, allocations: 62.81 kB / 455.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.2367, allocations: 33.27 kB / 455.9 MB, free: 11.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.2368, allocations: 187.7 kB / 456.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.237, allocations: 42.66 kB / 456.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.826e-05/0.2371, allocations: 38.08 kB / 456.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.2371, allocations: 6.719 kB / 456.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.2371, allocations: 2.781 kB / 456.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.2371, allocations: 5.672 kB / 456.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008908/0.238, allocations: 312.3 kB / 456.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.238, allocations: 1.219 kB / 456.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.2386, allocations: 122.5 kB / 456.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.2386, allocations: 10.11 kB / 456.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.2386, allocations: 15.23 kB / 456.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.2386, allocations: 6.078 kB / 456.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2386, allocations: 8.016 kB / 456.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007873/0.2394, allocations: 1.083 MB / 457.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.2395, allocations: 37.66 kB / 457.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.2395, allocations: 10.41 kB / 457.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.2399, allocations: 14.44 kB / 457.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.24, allocations: 33.7 kB / 457.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.24, allocations: 11.44 kB / 457.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.2401, allocations: 169.1 kB / 458 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2401, allocations: 0 / 458 MB, free: 10.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008757/0.241, allocations: 139.3 kB / 458.1 MB, free: 10.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001243/0.2411, allocations: 114 kB / 458.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005454/0.2417, allocations: 334.6 kB / 458.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2417, allocations: 0 / 458.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.2419, allocations: 125.2 kB / 458.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.2431, allocations: 102.7 kB / 458.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.245, allocations: 1.483 MB / 460.3 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2453, allocations: 228.1 kB / 460.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.2455, allocations: 47.98 kB / 460.5 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.2456, allocations: 32.94 kB / 460.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2456, allocations: 0 / 460.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of Templates: time 0.009949/0.2555, allocations: 4.075 MB / 464.6 MB, free: 8.402 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.287745572626591]