Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001157/0.001157, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.001701/0.001701, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.899/0.899, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1413/0.1413, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.966e-05, allocations: 6.219 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003129/0.003159, allocations: 2.811 MB / 410.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009364/0.004095, allocations: 414.5 kB / 411.3 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.004268, allocations: 11.94 kB / 411.3 MB, free: 9.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.004376, allocations: 67.3 kB / 411.4 MB, free: 9.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.004651, allocations: 174.4 kB / 411.6 MB, free: 9.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.00489, allocations: 107.8 kB / 411.7 MB, free: 9.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.005292, allocations: 0.5595 MB / 412.2 MB, free: 8.887 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.005498, allocations: 113.2 kB / 412.3 MB, free: 8.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000388/0.005886, allocations: 315.3 kB / 412.6 MB, free: 8.461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.006047, allocations: 155.5 kB / 412.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/0.006095, allocations: 40 kB / 412.8 MB, free: 8.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-05/0.006136, allocations: 40 kB / 412.9 MB, free: 8.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.006194, allocations: 99.64 kB / 413 MB, free: 8.133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.006313, allocations: 183.5 kB / 413.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.006741, allocations: 0.5179 MB / 413.7 MB, free: 7.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.006745, allocations: 4 kB / 413.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.006747, allocations: 0 / 413.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.006757, allocations: 0 / 413.7 MB, free: 7.43 MB / 346.7 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.0007907/0.007548, allocations: 0.6532 MB / 414.3 MB, free: 6.742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.007591, allocations: 8.031 kB / 414.3 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.175e-05/0.007673, allocations: 52.66 kB / 414.4 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.007959, allocations: 232.9 kB / 414.6 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.007989, allocations: 41.38 kB / 414.7 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.644e-05/0.008056, allocations: 56.27 kB / 414.7 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.00855, allocations: 458.6 kB / 415.2 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.008578, allocations: 12.14 kB / 415.2 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.008605, allocations: 16.38 kB / 415.2 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.008619, allocations: 16.31 kB / 415.2 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.009231, allocations: 259.7 kB / 415.5 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.01073, allocations: 1.504 MB / 417 MB, free: 3.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.01112, allocations: 395.3 kB / 417.3 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.01125, allocations: 144.2 kB / 417.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.01127, allocations: 15.92 kB / 417.5 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.0113, allocations: 54.55 kB / 417.6 MB, free: 3.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 2.865e-06/0.0113, allocations: 0 / 417.6 MB, free: 3.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005364/0.01184, allocations: 349.4 kB / 417.9 MB, free: 2.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/0.01194, allocations: 273 kB / 418.2 MB, free: 2.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01212, allocations: 250 kB / 418.4 MB, free: 2.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.01214, allocations: 29.7 kB / 418.4 MB, free: 2.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01226, allocations: 244.3 kB / 418.7 MB, free: 2.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.878e-05/0.01236, allocations: 190.4 kB / 418.9 MB, free: 1.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-05/0.01245, allocations: 114.6 kB / 419 MB, free: 1.766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01255, allocations: 354.7 kB / 419.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.01268, allocations: 118 kB / 419.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.01293, allocations: 417.6 kB / 419.8 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.01338, allocations: 0.5773 MB / 420.4 MB, free: 32 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.01339, allocations: 4 kB / 420.4 MB, free: 28 kB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005546/0.01394, allocations: 0.5677 MB / 421 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.01396, allocations: 8.219 kB / 421 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.01397, allocations: 16 kB / 421 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.014, allocations: 12.62 kB / 421 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.01431, allocations: 179.7 kB / 421.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.01432, allocations: 23.86 kB / 421.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.01451, allocations: 67.52 kB / 421.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.01453, allocations: 35.94 kB / 421.3 MB, free: 15.12 MB / 362.7 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.0001664/0.0147, allocations: 185.5 kB / 421.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.01481, allocations: 43.8 kB / 421.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.01487, allocations: 45.77 kB / 421.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.01487, allocations: 8 kB / 421.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.01488, allocations: 0 / 421.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.01489, allocations: 7.984 kB / 421.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.01549, allocations: 300.9 kB / 421.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.01549, allocations: 4 kB / 421.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.0158, allocations: 119.9 kB / 422 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.0158, allocations: 4 kB / 422 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.01582, allocations: 19.94 kB / 422 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.01583, allocations: 7.984 kB / 422.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002731/0.0161, allocations: 7.938 kB / 422.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.0167, allocations: 1.087 MB / 423.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.01674, allocations: 31.75 kB / 423.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.01677, allocations: 12 kB / 423.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.017, allocations: 12 kB / 423.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.01704, allocations: 35.88 kB / 423.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.01705, allocations: 8 kB / 423.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.503e-05/0.01714, allocations: 165.2 kB / 423.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01714, allocations: 0 / 423.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000588/0.01773, allocations: 139.7 kB / 423.5 MB, free: 12.83 MB / 362.7 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.0001404/0.01787, allocations: 115.1 kB / 423.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.01827, allocations: 337.3 kB / 424 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01827, allocations: 0 / 424 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.01838, allocations: 119.8 kB / 424.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/0.01913, allocations: 95.67 kB / 424.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.02061, allocations: 1.527 MB / 425.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.02078, allocations: 228.3 kB / 425.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.02084, allocations: 36.5 kB / 426 MB, free: 10.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.02084, allocations: 4 kB / 426 MB, free: 10.3 MB / 362.7 MB Notification: Performance of Templates: time 0.005926/0.02677, allocations: 5.345 MB / 431.3 MB, free: 4.961 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.272571569308639]