Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.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.001849/0.001849, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002456/0.002456, allocations: 210 kB / 24.48 MB, free: 3.938 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.516/1.516, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2591/0.2591, allocations: 46.95 MB / 361.6 MB, free: 4.027 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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 67.84 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3261, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008011/0.3341, allocations: 5.135 MB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004719/0.3388, allocations: 2.263 MB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009445/0.3398, allocations: 51.56 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006872/0.3405, allocations: 234 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006619/0.3411, allocations: 186.3 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.3423, allocations: 470.9 kB / 0.5699 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.3436, allocations: 1.106 MB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007444/0.3444, allocations: 405.8 kB / 0.5714 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005293/0.3449, allocations: 386.6 kB / 0.5718 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.3454, allocations: 338.1 kB / 0.5721 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.3455, allocations: 99.94 kB / 0.5722 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.3458, allocations: 163.9 kB / 0.5723 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.346, allocations: 211.3 kB / 0.5725 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.3464, allocations: 378.2 kB / 0.5729 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.3479, allocations: 1.29 MB / 0.5742 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3479, allocations: 4 kB / 0.5742 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3479, allocations: 0 / 0.5742 GB, free: 7.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.3479, allocations: 0 / 0.5742 GB, free: 7.422 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001735/0.3496, allocations: 1.081 MB / 0.5752 GB, free: 6.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3497, allocations: 15.97 kB / 0.5752 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.3499, allocations: 124.2 kB / 0.5753 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.351, allocations: 0.5147 MB / 0.5758 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.351, allocations: 70 kB / 0.5759 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.3512, allocations: 95.94 kB / 0.576 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.3527, allocations: 0.8814 MB / 0.5769 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.3527, allocations: 11.98 kB / 0.5769 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.3528, allocations: 40 kB / 0.5769 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.3528, allocations: 24 kB / 0.5769 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.3539, allocations: 0.519 MB / 0.5774 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/0.3577, allocations: 3.213 MB / 0.5806 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.3583, allocations: 205.9 kB / 0.5808 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.3585, allocations: 96.81 kB / 0.5809 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.3586, allocations: 23.97 kB / 0.5809 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3586, allocations: 34.56 kB / 0.5809 GB, free: 208 kB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.225e-06/0.3586, allocations: 0 / 0.5809 GB, free: 208 kB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002445/0.3611, allocations: 1.151 MB / 0.5821 GB, free: 14.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.3611, allocations: 55.41 kB / 0.5821 GB, free: 14.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.3616, allocations: 421.7 kB / 0.5825 GB, free: 14.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.3616, allocations: 37.7 kB / 0.5825 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.362, allocations: 475.5 kB / 0.583 GB, free: 13.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.3621, allocations: 138.8 kB / 0.5831 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.3623, allocations: 106.2 kB / 0.5832 GB, free: 13.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.3625, allocations: 362.7 kB / 0.5836 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.3627, allocations: 117.2 kB / 0.5837 GB, free: 13.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.3631, allocations: 311 kB / 0.584 GB, free: 12.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/0.3638, allocations: 459.6 kB / 0.5844 GB, free: 12.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3638, allocations: 0 / 0.5844 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008751/0.3647, allocations: 0.5131 MB / 0.5849 GB, free: 11.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3647, allocations: 8 kB / 0.5849 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3647, allocations: 4 kB / 0.5849 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002044/0.3649, allocations: 40.83 kB / 0.585 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.3653, allocations: 131.7 kB / 0.5851 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005574/0.3659, allocations: 0.5567 MB / 0.5856 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.3661, allocations: 24.05 kB / 0.5857 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.3661, allocations: 24 kB / 0.5857 GB, free: 11 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003609/0.3665, allocations: 233.6 kB / 0.5859 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.3666, allocations: 51.61 kB / 0.586 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006778/0.3673, allocations: 327.2 kB / 0.5863 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3673, allocations: 4 kB / 0.5863 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3673, allocations: 4 kB / 0.5863 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3673, allocations: 3.984 kB / 0.5863 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.3687, allocations: 0.8907 MB / 0.5872 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3687, allocations: 0 / 0.5872 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.3691, allocations: 79.89 kB / 0.5872 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.3693, allocations: 32.84 kB / 0.5873 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.3693, allocations: 8 kB / 0.5873 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004203/0.3697, allocations: 0.5524 MB / 0.5878 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3697, allocations: 4.031 kB / 0.5878 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.3706, allocations: 0.5601 MB / 0.5884 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.3707, allocations: 43.67 kB / 0.5884 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.3707, allocations: 12 kB / 0.5884 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3709, allocations: 8 kB / 0.5884 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.3709, allocations: 19.95 kB / 0.5884 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.3709, allocations: 12.09 kB / 0.5885 GB, free: 8.035 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003209/0.3713, allocations: 283.1 kB / 0.5887 GB, free: 7.762 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3713, allocations: 0 / 0.5887 GB, free: 7.762 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005646/0.3718, allocations: 123.9 kB / 0.5888 GB, free: 7.641 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001944/0.372, allocations: 127.1 kB / 0.589 GB, free: 7.504 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006936/0.3727, allocations: 320.7 kB / 0.5893 GB, free: 7.191 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3727, allocations: 0 / 0.5893 GB, free: 7.191 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.373, allocations: 131.8 kB / 0.5894 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.3735, allocations: 83.94 kB / 0.5895 GB, free: 6.988 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.3765, allocations: 1.689 MB / 0.5911 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.377, allocations: 368 kB / 0.5915 GB, free: 4.863 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.3771, allocations: 47.44 kB / 0.5915 GB, free: 4.816 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3771, allocations: 0 / 0.5915 GB, free: 4.816 MB / 430.1 MB Notification: Performance of Templates: time 0.01843/0.3955, allocations: 11.65 MB / 0.6029 GB, free: 9.172 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.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: 8.967661581002176]