Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001399, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.89 kB / 377.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2485, allocations: 53.41 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04595/0.2944, allocations: 39.15 MB / 470.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02584/0.3203, allocations: 10.36 MB / 480.8 MB, free: 4.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008944/0.3292, allocations: 362 kB / 481.1 MB, free: 4.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02635/0.3556, allocations: 10.34 MB / 491.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01735/0.3729, allocations: 4.214 MB / 495.7 MB, free: 5.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00916/0.3821, allocations: 2.498 MB / 498.2 MB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02841/0.4105, allocations: 16.66 MB / 0.5027 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03961/0.4501, allocations: 20.59 MB / 0.5229 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01587/0.466, allocations: 8.704 MB / 0.5314 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4688/0.9348, allocations: 9.608 MB / 0.5407 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008309/0.9431, allocations: 2.418 MB / 0.5431 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01071/0.9538, allocations: 2.853 MB / 0.5459 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009661/0.9635, allocations: 4.82 MB / 0.5506 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01614/0.9796, allocations: 9.217 MB / 0.5596 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03409/1.014, allocations: 32.24 MB / 0.5911 GB, free: 8.875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/1.014, allocations: 0 / 0.5911 GB, free: 8.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.014, allocations: 1.5 kB / 0.5911 GB, free: 8.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00105/1.015, allocations: 2.438 kB / 0.5911 GB, free: 8.875 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.05792/1.073, allocations: 18.99 MB / 0.6096 GB, free: 11.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.073, allocations: 8.031 kB / 0.6096 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008791/1.082, allocations: 2.287 MB / 0.6119 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04847/1.13, allocations: 8.287 MB / 0.62 GB, free: 1.039 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02714/1.157, allocations: 10.38 MB / 0.6301 GB, free: 7.008 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/1.158, allocations: 1.06 MB / 0.6311 GB, free: 5.961 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005704/1.164, allocations: 1.399 MB / 0.6325 GB, free: 4.574 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05917/1.223, allocations: 22.8 MB / 0.6548 GB, free: 13.72 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005336/1.224, allocations: 23.64 kB / 0.6548 GB, free: 13.7 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004372/1.228, allocations: 0.5763 MB / 0.6554 GB, free: 13.14 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009204/1.229, allocations: 0.7793 MB / 0.6561 GB, free: 12.36 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04789/1.277, allocations: 21.06 MB / 0.6767 GB, free: 7.289 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.138/1.415, allocations: 71.08 MB / 0.7461 GB, free: 44 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2653/1.68, allocations: 13.97 MB / 0.7597 GB, free: 192 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006969/1.687, allocations: 4.727 MB / 0.7644 GB, free: 190.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0223/1.709, allocations: 12.67 MB / 0.7767 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/1.71, allocations: 85.23 kB / 0.7768 GB, free: 184.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.214e-06/1.71, allocations: 3.984 kB / 0.7768 GB, free: 184.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05153/1.761, allocations: 25.87 MB / 0.8021 GB, free: 174 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/1.761, allocations: 139.1 kB / 0.8022 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008046/1.769, allocations: 5.79 MB / 0.8079 GB, free: 170 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/1.77, allocations: 109.7 kB / 0.808 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003562/1.774, allocations: 6.371 MB / 0.8142 GB, free: 164.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001831/1.776, allocations: 1.818 MB / 0.816 GB, free: 162.4 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002112/1.778, allocations: 1.481 MB / 0.8174 GB, free: 160.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/1.778, allocations: 301.1 kB / 0.8177 GB, free: 160.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004601/1.783, allocations: 3.637 MB / 0.8213 GB, free: 157 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005685/1.788, allocations: 6.486 MB / 0.8276 GB, free: 149.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/1.8, allocations: 10.79 MB / 0.8381 GB, free: 137.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.662e-05/1.801, allocations: 28 kB / 0.8381 GB, free: 137 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02328/1.824, allocations: 12.03 MB / 0.8499 GB, free: 125 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/1.824, allocations: 47.25 kB / 0.8499 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/1.824, allocations: 92 kB / 0.85 GB, free: 124.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003842/1.828, allocations: 1.595 MB / 0.8516 GB, free: 123.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005577/1.833, allocations: 1.669 MB / 0.8532 GB, free: 121.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02003/1.853, allocations: 19.12 MB / 0.8719 GB, free: 101.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008827/1.862, allocations: 423.6 kB / 0.8723 GB, free: 101.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001582/1.864, allocations: 383.9 kB / 0.8727 GB, free: 101.1 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01036/1.874, allocations: 5.19 MB / 0.8777 GB, free: 95.89 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/1.876, allocations: 0.6366 MB / 0.8783 GB, free: 95.25 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/1.889, allocations: 9.158 MB / 0.8873 GB, free: 86.03 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007693/1.897, allocations: 5.856 MB / 0.893 GB, free: 80.14 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.291e-05/1.897, allocations: 20 kB / 0.893 GB, free: 80.12 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.699e-05/1.897, allocations: 23.91 kB / 0.893 GB, free: 80.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03269/1.93, allocations: 20.93 MB / 0.9135 GB, free: 59.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.93, allocations: 11.98 kB / 0.9135 GB, free: 59.09 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003404/1.933, allocations: 0.8659 MB / 0.9143 GB, free: 58.22 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004142/1.937, allocations: 1.635 MB / 0.9159 GB, free: 56.56 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004558/1.938, allocations: 132 kB / 0.9161 GB, free: 56.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02008/1.958, allocations: 22.5 MB / 0.938 GB, free: 33.16 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.958, allocations: 12.16 kB / 0.9381 GB, free: 33.15 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/1.976, allocations: 13.57 MB / 0.9513 GB, free: 19.25 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003642/1.979, allocations: 1.351 MB / 0.9526 GB, free: 17.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.98, allocations: 108 kB / 0.9527 GB, free: 17.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002773/1.983, allocations: 279.7 kB / 0.953 GB, free: 17.52 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008451/1.984, allocations: 436.2 kB / 0.9534 GB, free: 17.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003357/1.984, allocations: 160 kB / 0.9536 GB, free: 16.94 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005557/1.99, allocations: 3.909 MB / 0.9574 GB, free: 13.06 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/1.99, allocations: 0 / 0.9574 GB, free: 13.06 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008787/1.999, allocations: 2.34 MB / 0.9597 GB, free: 10.72 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3052/2.304, allocations: 14.35 MB / 0.9737 GB, free: 174.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01635/2.32, allocations: 9.458 MB / 0.9829 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/2.32, allocations: 1.688 kB / 0.9829 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007957/2.328, allocations: 5.147 MB / 0.9879 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007212/2.335, allocations: 1.654 MB / 0.9896 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1639/2.499, allocations: 80.2 MB / 1.068 GB, free: 115.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01558/2.515, allocations: 8.862 MB / 1.077 GB, free: 107 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01035/2.525, allocations: 2.531 MB / 1.079 GB, free: 104.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01069/2.536, allocations: 5.202 MB / 1.084 GB, free: 99.27 MB / 0.5763 GB Notification: Performance of SimCode: time 1.834e-06/2.536, allocations: 0 / 1.084 GB, free: 99.27 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5797/3.116, allocations: 196.1 MB / 1.276 GB, free: 141.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.32/31.43, allocations: 4.172 kB / 1.276 GB, free: 141.9 MB / 0.5919 GB " [Timeout remaining time 628] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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: 34.65799909500129]