Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001383/0.001383, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001555/0.001555, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2365/0.2365, allocations: 44.93 MB / 358.8 MB, free: 6.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.91 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4804, allocations: 65.47 MB / 0.5574 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.01092/0.4913, allocations: 5.124 MB / 0.5624 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006737/0.4981, allocations: 2.251 MB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.4995, allocations: 59.55 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008473/0.5003, allocations: 225.9 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008822/0.5012, allocations: 186.3 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.503, allocations: 482.8 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.5051, allocations: 1.11 MB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.5062, allocations: 405.8 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008368/0.507, allocations: 378.7 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006524/0.5077, allocations: 346 kB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.5079, allocations: 96 kB / 0.5678 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.5084, allocations: 159.9 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.5087, allocations: 211.3 kB / 0.5682 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005591/0.5092, allocations: 382.1 kB / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.5115, allocations: 1.29 MB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5115, allocations: 0 / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5115, allocations: 0 / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.5115, allocations: 0 / 0.5698 GB, free: 10.74 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.002437/0.5139, allocations: 1.081 MB / 0.5708 GB, free: 9.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.514, allocations: 16.03 kB / 0.5709 GB, free: 9.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004073/0.5144, allocations: 120.2 kB / 0.571 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.5159, allocations: 0.5225 MB / 0.5715 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.186e-05/0.516, allocations: 66 kB / 0.5715 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.5162, allocations: 95.95 kB / 0.5716 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.5186, allocations: 0.8882 MB / 0.5725 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.674e-05/0.5186, allocations: 11.94 kB / 0.5725 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.5187, allocations: 36 kB / 0.5725 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.5188, allocations: 28 kB / 0.5726 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.5205, allocations: 0.5151 MB / 0.5731 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005578/0.526, allocations: 3.217 MB / 0.5762 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008409/0.5269, allocations: 203.1 kB / 0.5764 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.5272, allocations: 104.8 kB / 0.5765 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.5273, allocations: 23.92 kB / 0.5765 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.5273, allocations: 30.56 kB / 0.5766 GB, free: 3.516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 3.236e-06/0.5274, allocations: 4 kB / 0.5766 GB, free: 3.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.003567/0.5309, allocations: 1.151 MB / 0.5777 GB, free: 2.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.531, allocations: 55.41 kB / 0.5777 GB, free: 2.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000674/0.5317, allocations: 425.6 kB / 0.5782 GB, free: 1.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.5317, allocations: 29.7 kB / 0.5782 GB, free: 1.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/0.5322, allocations: 479.5 kB / 0.5786 GB, free: 1.301 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.5324, allocations: 146.8 kB / 0.5788 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.5326, allocations: 106.2 kB / 0.5789 GB, free: 1.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002606/0.5329, allocations: 354.8 kB / 0.5792 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.5332, allocations: 117.3 kB / 0.5793 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.5337, allocations: 307 kB / 0.5796 GB, free: 192 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009684/0.5347, allocations: 464.8 kB / 0.5801 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.5347, allocations: 4 kB / 0.5801 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001235/0.5359, allocations: 0.5131 MB / 0.5806 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.536, allocations: 8 kB / 0.5806 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.536, allocations: 8 kB / 0.5806 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/0.5363, allocations: 36.84 kB / 0.5806 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.5369, allocations: 123.8 kB / 0.5807 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006172/0.5375, allocations: 0.5567 MB / 0.5813 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.5378, allocations: 20.06 kB / 0.5813 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.5379, allocations: 28 kB / 0.5813 GB, free: 14.31 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.0004877/0.5384, allocations: 236.4 kB / 0.5816 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.5385, allocations: 55.61 kB / 0.5816 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008913/0.5394, allocations: 327.2 kB / 0.5819 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.5394, allocations: 4 kB / 0.5819 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5394, allocations: 0 / 0.5819 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5394, allocations: 4 kB / 0.5819 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.5414, allocations: 0.8828 MB / 0.5828 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.5414, allocations: 8 kB / 0.5828 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/0.542, allocations: 75.89 kB / 0.5829 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.5421, allocations: 28.84 kB / 0.5829 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.5422, allocations: 16 kB / 0.5829 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005082/0.5427, allocations: 0.5525 MB / 0.5834 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5427, allocations: 0 / 0.5834 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.5438, allocations: 0.5679 MB / 0.584 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.011e-05/0.5439, allocations: 39.67 kB / 0.584 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.544, allocations: 8.094 kB / 0.584 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.5442, allocations: 15.98 kB / 0.5841 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.5443, allocations: 31.97 kB / 0.5841 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.5443, allocations: 12 kB / 0.5841 GB, free: 11.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004664/0.5448, allocations: 279.1 kB / 0.5844 GB, free: 11.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5448, allocations: 0 / 0.5844 GB, free: 11.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008793/0.5457, allocations: 127.9 kB / 0.5845 GB, free: 10.94 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.0002473/0.5459, allocations: 115.3 kB / 0.5846 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008972/0.5468, allocations: 316.9 kB / 0.5849 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5468, allocations: 3.938 kB / 0.5849 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.5472, allocations: 135.8 kB / 0.585 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007884/0.548, allocations: 69.56 kB / 0.5851 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.552, allocations: 1.656 MB / 0.5867 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.5525, allocations: 368 kB / 0.5871 GB, free: 8.219 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.5528, allocations: 56.53 kB / 0.5871 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.5529, allocations: 39.44 kB / 0.5872 GB, free: 8.125 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5529, allocations: 0 / 0.5872 GB, free: 8.125 MB / 430.1 MB Notification: Performance of Templates: time 0.01688/0.5698, allocations: 4.893 MB / 0.5919 GB, free: 3.305 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.615515822544694]