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.001641/0.001641, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001973/0.001973, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.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.223/0.223, allocations: 46.97 MB / 361.6 MB, free: 4.051 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 0.002006/0.002006, allocations: 67.91 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2917, allocations: 66.04 MB / 0.5618 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004101/0.2958, allocations: 2.822 MB / 0.5646 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.2965, allocations: 406.5 kB / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2967, allocations: 11.94 kB / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.2968, allocations: 67.31 kB / 0.565 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.2971, allocations: 162.5 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.2973, allocations: 103.9 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005274/0.2979, allocations: 0.5403 MB / 0.5658 GB, free: 224 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.2981, allocations: 121.2 kB / 0.5659 GB, free: 100 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.2983, allocations: 207.3 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.2986, allocations: 219 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.2986, allocations: 43.94 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.267e-05/0.2987, allocations: 44 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.2988, allocations: 91.69 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.299, allocations: 211.1 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005625/0.2996, allocations: 0.5239 MB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2996, allocations: 0 / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2996, allocations: 0 / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2996, allocations: 0 / 0.5672 GB, free: 14.77 MB / 414.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.001022/0.3006, allocations: 0.661 MB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.3007, allocations: 8.031 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.248e-05/0.3008, allocations: 56.61 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.3011, allocations: 225.8 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.3011, allocations: 37.38 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.479e-05/0.3012, allocations: 56.27 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/0.302, allocations: 454.7 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.302, allocations: 24.06 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.3021, allocations: 19.94 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3021, allocations: 15.94 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.3025, allocations: 255.7 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.3047, allocations: 1.5 MB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.3053, allocations: 403.8 kB / 0.5708 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.3055, allocations: 147.7 kB / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3055, allocations: 7.938 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.3056, allocations: 50.5 kB / 0.571 GB, free: 10.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.054e-06/0.3056, allocations: 0 / 0.571 GB, free: 10.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007889/0.3064, allocations: 359.2 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.3065, allocations: 261 kB / 0.5716 GB, free: 9.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.3068, allocations: 261.9 kB / 0.5719 GB, free: 9.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.3068, allocations: 33.7 kB / 0.5719 GB, free: 9.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.307, allocations: 248.2 kB / 0.5721 GB, free: 9.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.3072, allocations: 194.4 kB / 0.5723 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3073, allocations: 110.6 kB / 0.5724 GB, free: 9.082 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3075, allocations: 346.8 kB / 0.5727 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.3077, allocations: 121.9 kB / 0.5729 GB, free: 8.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/0.3082, allocations: 421.6 kB / 0.5733 GB, free: 8.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/0.3089, allocations: 0.5606 MB / 0.5738 GB, free: 7.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.3089, allocations: 8 kB / 0.5738 GB, free: 7.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008653/0.3098, allocations: 0.5592 MB / 0.5744 GB, free: 6.789 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3098, allocations: 12.94 kB / 0.5744 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.3098, allocations: 8 kB / 0.5744 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/0.3099, allocations: 16 kB / 0.5744 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.3104, allocations: 187.7 kB / 0.5746 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/0.3105, allocations: 24.19 kB / 0.5746 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.3108, allocations: 59.58 kB / 0.5747 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.3108, allocations: 35.94 kB / 0.5747 GB, free: 6.453 MB / 414.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.0001966/0.311, allocations: 185.5 kB / 0.5749 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.3112, allocations: 39.8 kB / 0.5749 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.816e-05/0.3113, allocations: 37.7 kB / 0.5749 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3113, allocations: 8 kB / 0.5749 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3113, allocations: 11.94 kB / 0.575 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3113, allocations: 0 / 0.575 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000925/0.3122, allocations: 313.1 kB / 0.5753 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.3122, allocations: 4 kB / 0.5753 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/0.3128, allocations: 123.9 kB / 0.5754 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.3128, allocations: 4 kB / 0.5754 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.3129, allocations: 12 kB / 0.5754 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.3129, allocations: 11.92 kB / 0.5754 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3129, allocations: 4 kB / 0.5754 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3139, allocations: 1.094 MB / 0.5765 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.314, allocations: 43.67 kB / 0.5765 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.314, allocations: 8 kB / 0.5765 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.3144, allocations: 12 kB / 0.5765 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.3145, allocations: 31.89 kB / 0.5766 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.3145, allocations: 12 kB / 0.5766 GB, free: 4.445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.3146, allocations: 161.2 kB / 0.5767 GB, free: 4.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3146, allocations: 0 / 0.5767 GB, free: 4.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008636/0.3155, allocations: 139.7 kB / 0.5769 GB, free: 4.148 MB / 414.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.0001874/0.3157, allocations: 126.9 kB / 0.577 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000594/0.3163, allocations: 329.5 kB / 0.5773 GB, free: 3.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3163, allocations: 0 / 0.5773 GB, free: 3.695 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.3165, allocations: 124 kB / 0.5774 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.3177, allocations: 100.4 kB / 0.5775 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.3205, allocations: 1.977 MB / 0.5794 GB, free: 1.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3207, allocations: 224.5 kB / 0.5797 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.3209, allocations: 51.42 kB / 0.5797 GB, free: 1.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.321, allocations: 31.44 kB / 0.5797 GB, free: 1.129 MB / 414.1 MB Notification: Performance of SimCode: time 1.001e-06/0.321, allocations: 0 / 0.5797 GB, free: 1.129 MB / 414.1 MB Notification: Performance of Templates: time 0.009758/0.3307, allocations: 4.882 MB / 0.5845 GB, free: 12.34 MB / 430.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/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.1221270540117985]