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.001397/0.001397, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001502/0.001502, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2532/0.2532, allocations: 46.93 MB / 360.8 MB, free: 4.375 MB / 286.1 MB " [Timeout remaining time 179] 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.002238/0.002238, allocations: 75.88 kB / 0.4966 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3969, allocations: 66.03 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.01152/0.4084, allocations: 5.812 MB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007116/0.4155, allocations: 2.387 MB / 0.5691 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.417, allocations: 55.5 kB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008574/0.4178, allocations: 230 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007627/0.4186, allocations: 186.2 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.4205, allocations: 0.4907 MB / 0.57 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.4226, allocations: 1.11 MB / 0.5711 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007766/0.4233, allocations: 425.8 kB / 0.5715 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006329/0.424, allocations: 390.6 kB / 0.5719 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/0.4245, allocations: 394 kB / 0.5723 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.4246, allocations: 100 kB / 0.5724 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.4249, allocations: 155.9 kB / 0.5725 GB, free: 8.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.4252, allocations: 219.3 kB / 0.5727 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.4256, allocations: 465.6 kB / 0.5732 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.4272, allocations: 1.29 MB / 0.5744 GB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4272, allocations: 0 / 0.5744 GB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4272, allocations: 0 / 0.5744 GB, free: 6.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.4272, allocations: 0 / 0.5744 GB, free: 6.699 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.001822/0.4291, allocations: 1.077 MB / 0.5755 GB, free: 5.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4291, allocations: 12.02 kB / 0.5755 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.4294, allocations: 116.2 kB / 0.5756 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.4305, allocations: 0.5341 MB / 0.5761 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.4306, allocations: 70 kB / 0.5762 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.4307, allocations: 95.95 kB / 0.5763 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.4324, allocations: 0.8853 MB / 0.5772 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.4324, allocations: 8 kB / 0.5772 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/0.4325, allocations: 40 kB / 0.5772 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/0.4325, allocations: 20 kB / 0.5772 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.4336, allocations: 0.5229 MB / 0.5777 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.4379, allocations: 3.52 MB / 0.5812 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.4385, allocations: 208.3 kB / 0.5814 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.4387, allocations: 92.81 kB / 0.5815 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.4389, allocations: 16 kB / 0.5815 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.4389, allocations: 42.55 kB / 0.5815 GB, free: 15.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.4389, allocations: 0 / 0.5815 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.00262/0.4415, allocations: 1.154 MB / 0.5826 GB, free: 13.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.4416, allocations: 59.34 kB / 0.5827 GB, free: 13.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.4421, allocations: 405.8 kB / 0.5831 GB, free: 13.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.4421, allocations: 29.7 kB / 0.5831 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.4425, allocations: 483.5 kB / 0.5836 GB, free: 12.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.4426, allocations: 142.8 kB / 0.5837 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.4427, allocations: 98.3 kB / 0.5838 GB, free: 12.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.4429, allocations: 366.8 kB / 0.5842 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.4432, allocations: 113.2 kB / 0.5843 GB, free: 12.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.4436, allocations: 307 kB / 0.5846 GB, free: 11.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.4443, allocations: 463.6 kB / 0.585 GB, free: 11.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4443, allocations: 0 / 0.585 GB, free: 11.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008986/0.4452, allocations: 0.5128 MB / 0.5855 GB, free: 10.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.4452, allocations: 8 kB / 0.5855 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.4452, allocations: 4 kB / 0.5855 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/0.4454, allocations: 37.62 kB / 0.5856 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.4459, allocations: 131.8 kB / 0.5857 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005355/0.4464, allocations: 0.5601 MB / 0.5862 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.4466, allocations: 23.94 kB / 0.5862 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.4467, allocations: 27.98 kB / 0.5863 GB, free: 9.965 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.0003739/0.447, allocations: 221.7 kB / 0.5865 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/0.4471, allocations: 63.66 kB / 0.5865 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006899/0.4478, allocations: 335.1 kB / 0.5869 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4478, allocations: 4 kB / 0.5869 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4478, allocations: 4 kB / 0.5869 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.751e-05/0.4479, allocations: 3.984 kB / 0.5869 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.4495, allocations: 1.023 MB / 0.5879 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4495, allocations: 0 / 0.5879 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.4499, allocations: 83.89 kB / 0.588 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.45, allocations: 32.78 kB / 0.588 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.4501, allocations: 15.94 kB / 0.588 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004062/0.4505, allocations: 0.5486 MB / 0.5885 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4505, allocations: 4.031 kB / 0.5885 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.4513, allocations: 0.5563 MB / 0.5891 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.4514, allocations: 43.67 kB / 0.5891 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.4515, allocations: 11.98 kB / 0.5891 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.4516, allocations: 8 kB / 0.5891 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.4517, allocations: 27.89 kB / 0.5892 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.4517, allocations: 16 kB / 0.5892 GB, free: 6.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003356/0.4521, allocations: 271.1 kB / 0.5894 GB, free: 6.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4521, allocations: 0 / 0.5894 GB, free: 6.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000601/0.4527, allocations: 127.9 kB / 0.5896 GB, free: 6.438 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.0001745/0.4529, allocations: 111.2 kB / 0.5897 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006915/0.4535, allocations: 319.9 kB / 0.59 GB, free: 6.004 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4535, allocations: 0 / 0.59 GB, free: 6.004 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.4538, allocations: 137.2 kB / 0.5901 GB, free: 5.871 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.4544, allocations: 73.09 kB / 0.5902 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.4573, allocations: 1.662 MB / 0.5918 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.458, allocations: 0.9561 MB / 0.5927 GB, free: 3.117 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.4582, allocations: 60.48 kB / 0.5928 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.4583, allocations: 39.42 kB / 0.5928 GB, free: 3.02 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4583, allocations: 0 / 0.5928 GB, free: 3.02 MB / 430.1 MB Notification: Performance of Templates: time 0.0117/0.47, allocations: 4.63 MB / 0.5974 GB, free: 14.41 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 5.63543435302563]