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.001548/0.001548, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001767/0.001767, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.3307/0.3307, allocations: 44.91 MB / 359.6 MB, free: 6.266 MB / 286.1 MB " [Timeout remaining time 179] 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.002212/0.002212, allocations: 69.62 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3045, allocations: 65.47 MB / 0.5582 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008625/0.3131, allocations: 5.823 MB / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004729/0.3178, allocations: 2.387 MB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009907/0.3188, allocations: 55.56 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008313/0.3196, allocations: 230 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008634/0.3205, allocations: 186.3 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.3219, allocations: 498.5 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.3236, allocations: 1.114 MB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007413/0.3243, allocations: 425.8 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006113/0.3249, allocations: 394.6 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.3254, allocations: 394 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.3256, allocations: 96 kB / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.3259, allocations: 156 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.3261, allocations: 219.2 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004441/0.3265, allocations: 473.6 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.328, allocations: 1.282 MB / 0.5716 GB, free: 9.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.328, allocations: 0 / 0.5716 GB, free: 9.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.328, allocations: 0 / 0.5716 GB, free: 9.949 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.328, allocations: 0 / 0.5716 GB, free: 9.949 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.001614/0.3296, allocations: 1.085 MB / 0.5726 GB, free: 8.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3297, allocations: 12.02 kB / 0.5726 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.3299, allocations: 116.2 kB / 0.5728 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.3309, allocations: 0.5186 MB / 0.5733 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.641e-05/0.331, allocations: 70 kB / 0.5733 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.3312, allocations: 91.95 kB / 0.5734 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.3327, allocations: 0.8931 MB / 0.5743 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.3327, allocations: 4 kB / 0.5743 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.548e-05/0.3328, allocations: 39.94 kB / 0.5743 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.3328, allocations: 24 kB / 0.5744 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3338, allocations: 0.5268 MB / 0.5749 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003934/0.3378, allocations: 3.505 MB / 0.5783 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.3383, allocations: 212.5 kB / 0.5785 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.3385, allocations: 96.8 kB / 0.5786 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.3386, allocations: 16 kB / 0.5786 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.3387, allocations: 42.55 kB / 0.5786 GB, free: 2.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.3387, allocations: 0 / 0.5786 GB, free: 2.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002419/0.3411, allocations: 1.154 MB / 0.5798 GB, free: 1.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.3411, allocations: 67.22 kB / 0.5798 GB, free: 1.121 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.3416, allocations: 405.8 kB / 0.5802 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3416, allocations: 29.7 kB / 0.5802 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.342, allocations: 479.5 kB / 0.5807 GB, free: 212 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.3421, allocations: 142.8 kB / 0.5808 GB, free: 68 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.3422, allocations: 102.3 kB / 0.5809 GB, free: 15.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3424, allocations: 354.8 kB / 0.5813 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.3427, allocations: 117.2 kB / 0.5814 GB, free: 15.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.343, allocations: 311 kB / 0.5817 GB, free: 15.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.3437, allocations: 460.7 kB / 0.5821 GB, free: 14.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3437, allocations: 4 kB / 0.5821 GB, free: 14.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008383/0.3445, allocations: 0.509 MB / 0.5826 GB, free: 14.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3445, allocations: 8 kB / 0.5826 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3446, allocations: 8 kB / 0.5826 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.3447, allocations: 40.84 kB / 0.5827 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.3451, allocations: 132.4 kB / 0.5828 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004444/0.3456, allocations: 0.5601 MB / 0.5834 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.3458, allocations: 16 kB / 0.5834 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.3458, allocations: 31.98 kB / 0.5834 GB, free: 13.22 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.0003155/0.3461, allocations: 225.7 kB / 0.5836 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/0.3462, allocations: 59.59 kB / 0.5837 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006466/0.3469, allocations: 331.2 kB / 0.584 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3469, allocations: 7.938 kB / 0.584 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3469, allocations: 0 / 0.584 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3469, allocations: 7.984 kB / 0.584 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.3485, allocations: 1.023 MB / 0.585 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3485, allocations: 0 / 0.585 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.3488, allocations: 79.89 kB / 0.5851 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.349, allocations: 36.78 kB / 0.5851 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.349, allocations: 8 kB / 0.5851 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003976/0.3494, allocations: 0.5448 MB / 0.5857 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3494, allocations: 3.938 kB / 0.5857 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008091/0.3502, allocations: 0.5602 MB / 0.5862 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.3503, allocations: 39.67 kB / 0.5862 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.3503, allocations: 11.98 kB / 0.5863 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3505, allocations: 16.03 kB / 0.5863 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.3505, allocations: 31.88 kB / 0.5863 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.3506, allocations: 12 kB / 0.5863 GB, free: 10.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003197/0.3509, allocations: 275.1 kB / 0.5866 GB, free: 9.816 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3509, allocations: 0 / 0.5866 GB, free: 9.816 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005401/0.3514, allocations: 127.9 kB / 0.5867 GB, free: 9.691 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.0001795/0.3516, allocations: 115.2 kB / 0.5868 GB, free: 9.566 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006605/0.3523, allocations: 320.4 kB / 0.5871 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3523, allocations: 0 / 0.5871 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.3525, allocations: 131.8 kB / 0.5872 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.3531, allocations: 78 kB / 0.5873 GB, free: 9.055 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.3558, allocations: 1.693 MB / 0.589 GB, free: 7.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/0.3565, allocations: 0.9561 MB / 0.5899 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3566, allocations: 47.61 kB / 0.5899 GB, free: 6.27 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3566, allocations: 4 kB / 0.5899 GB, free: 6.266 MB / 430.1 MB Notification: Performance of Templates: time 0.01554/0.3721, allocations: 11.32 MB / 0.601 GB, free: 10.95 MB / 446.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 8.544685342814773]