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.001531/0.001531, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001713/0.001713, allocations: 210.9 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.555/1.555, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2501/0.2501, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.002022/0.002022, allocations: 71.88 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007554/0.3526, allocations: 5.143 MB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004734/0.3573, allocations: 2.247 MB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00098/0.3583, allocations: 51.56 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.3589, allocations: 226 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005296/0.3594, allocations: 190.2 kB / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3606, allocations: 474.9 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.3619, allocations: 1.106 MB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007172/0.3627, allocations: 437.7 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005666/0.3632, allocations: 386.6 kB / 0.5718 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.3637, allocations: 390.1 kB / 0.5722 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.3638, allocations: 99.94 kB / 0.5722 GB, free: 9.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.3641, allocations: 159.9 kB / 0.5724 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.3643, allocations: 219.2 kB / 0.5726 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.3647, allocations: 374.2 kB / 0.573 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.3661, allocations: 1.294 MB / 0.5742 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3661, allocations: 0 / 0.5742 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3661, allocations: 3.938 kB / 0.5742 GB, free: 7.391 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3661, allocations: 0 / 0.5742 GB, free: 7.391 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.001658/0.3678, allocations: 1.077 MB / 0.5753 GB, free: 6.281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3679, allocations: 8.031 kB / 0.5753 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.3681, allocations: 120.2 kB / 0.5754 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3692, allocations: 0.5302 MB / 0.5759 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.3693, allocations: 66 kB / 0.576 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.3695, allocations: 99.95 kB / 0.5761 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.3711, allocations: 0.8853 MB / 0.5769 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/0.3712, allocations: 8 kB / 0.577 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.3712, allocations: 36 kB / 0.577 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.3713, allocations: 24 kB / 0.577 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.3723, allocations: 0.519 MB / 0.5775 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.3761, allocations: 3.213 MB / 0.5807 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.3767, allocations: 207.1 kB / 0.5809 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3769, allocations: 92.83 kB / 0.5809 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.377, allocations: 19.98 kB / 0.581 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.377, allocations: 34.56 kB / 0.581 GB, free: 184 kB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.377, allocations: 0 / 0.581 GB, free: 184 kB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002487/0.3795, allocations: 1.151 MB / 0.5821 GB, free: 14.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3795, allocations: 55.41 kB / 0.5822 GB, free: 14.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.38, allocations: 417.7 kB / 0.5826 GB, free: 14.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.38, allocations: 29.7 kB / 0.5826 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.3804, allocations: 487.5 kB / 0.5831 GB, free: 13.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.3805, allocations: 138.8 kB / 0.5832 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.3807, allocations: 106.2 kB / 0.5833 GB, free: 13.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3809, allocations: 362.7 kB / 0.5836 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.3811, allocations: 113.3 kB / 0.5838 GB, free: 13.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.3815, allocations: 315 kB / 0.5841 GB, free: 12.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/0.3822, allocations: 455.6 kB / 0.5845 GB, free: 12.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3822, allocations: 4 kB / 0.5845 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008445/0.383, allocations: 0.505 MB / 0.585 GB, free: 11.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.383, allocations: 8.844 kB / 0.585 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.383, allocations: 8 kB / 0.585 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.3832, allocations: 48.83 kB / 0.585 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.3836, allocations: 127.8 kB / 0.5852 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004714/0.3841, allocations: 0.5601 MB / 0.5857 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.3843, allocations: 24 kB / 0.5857 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.3844, allocations: 24 kB / 0.5858 GB, free: 10.98 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.000329/0.3847, allocations: 229.6 kB / 0.586 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.3848, allocations: 55.61 kB / 0.586 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006512/0.3854, allocations: 339.1 kB / 0.5864 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3855, allocations: 4 kB / 0.5864 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3855, allocations: 0 / 0.5864 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3855, allocations: 0 / 0.5864 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.3869, allocations: 0.879 MB / 0.5872 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3869, allocations: 4 kB / 0.5872 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.3873, allocations: 84.05 kB / 0.5873 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/0.3874, allocations: 32.84 kB / 0.5873 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.3874, allocations: 12 kB / 0.5873 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003798/0.3878, allocations: 0.5523 MB / 0.5879 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3878, allocations: 4.031 kB / 0.5879 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008112/0.3886, allocations: 0.5601 MB / 0.5884 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.3887, allocations: 39.67 kB / 0.5885 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.3887, allocations: 8.062 kB / 0.5885 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.3889, allocations: 15.98 kB / 0.5885 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.389, allocations: 27.95 kB / 0.5885 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.389, allocations: 12 kB / 0.5885 GB, free: 7.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.3893, allocations: 275.1 kB / 0.5888 GB, free: 7.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3893, allocations: 0 / 0.5888 GB, free: 7.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005619/0.3899, allocations: 127.9 kB / 0.5889 GB, free: 7.602 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.000191/0.39, allocations: 121.8 kB / 0.589 GB, free: 7.473 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006526/0.3907, allocations: 315.6 kB / 0.5893 GB, free: 7.164 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3907, allocations: 1.688 kB / 0.5893 GB, free: 7.164 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.391, allocations: 135.8 kB / 0.5895 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.3915, allocations: 88.5 kB / 0.5896 GB, free: 6.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.3943, allocations: 1.685 MB / 0.5912 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.3947, allocations: 364 kB / 0.5915 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3948, allocations: 47.42 kB / 0.5916 GB, free: 4.789 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3948, allocations: 0 / 0.5916 GB, free: 4.789 MB / 430.1 MB Notification: Performance of Templates: time 0.01652/0.4113, allocations: 11.65 MB / 0.603 GB, free: 9.137 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.819679501990322]