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.001323/0.001323, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001404/0.001404, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.474/1.474, allocations: 230.4 MB / 254 MB, free: 15.17 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.001944/0.001944, allocations: 63.91 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1097, allocations: 53.38 MB / 426.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2754/0.3851, allocations: 39.08 MB / 465.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02455/0.4096, allocations: 10.34 MB / 475.8 MB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00974/0.4194, allocations: 356.6 kB / 476.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02531/0.4447, allocations: 10.31 MB / 486.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01924/0.4639, allocations: 4.127 MB / 490.6 MB, free: 4.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008772/0.4727, allocations: 2.433 MB / 493 MB, free: 2.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02479/0.4975, allocations: 16.53 MB / 0.4976 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.051/0.5485, allocations: 23.69 MB / 0.5208 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01773/0.5662, allocations: 8.65 MB / 0.5292 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01988/0.5861, allocations: 9.585 MB / 0.5386 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008548/0.5947, allocations: 2.418 MB / 0.5409 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01155/0.6062, allocations: 2.835 MB / 0.5437 GB, free: 9.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009712/0.6159, allocations: 4.824 MB / 0.5484 GB, free: 4.391 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02186/0.6378, allocations: 9.214 MB / 0.5574 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04902/0.6868, allocations: 32.24 MB / 0.5889 GB, free: 10.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6868, allocations: 0 / 0.5889 GB, free: 10.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6868, allocations: 0 / 0.5889 GB, free: 10.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008796/0.6877, allocations: 0 / 0.5889 GB, free: 10.8 MB / 494.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.06558/0.7533, allocations: 19.07 MB / 0.6075 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.7533, allocations: 12.02 kB / 0.6075 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008894/0.7622, allocations: 2.286 MB / 0.6098 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0505/0.8127, allocations: 8.279 MB / 0.6178 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02883/0.8416, allocations: 10.29 MB / 0.6279 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001429/0.843, allocations: 1.064 MB / 0.6289 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006667/0.8496, allocations: 1.398 MB / 0.6303 GB, free: 152 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5006/1.35, allocations: 22.79 MB / 0.6526 GB, free: 129.3 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005695/1.351, allocations: 23.09 kB / 0.6526 GB, free: 129.3 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004968/1.356, allocations: 0.5786 MB / 0.6531 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/1.357, allocations: 0.7747 MB / 0.6539 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04341/1.4, allocations: 21.07 MB / 0.6745 GB, free: 119.9 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1146/1.515, allocations: 72.87 MB / 0.7456 GB, free: 50.54 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02565/1.54, allocations: 42.11 MB / 0.7868 GB, free: 3.484 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007872/1.548, allocations: 4.746 MB / 0.7914 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02845/1.577, allocations: 13.04 MB / 0.8041 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.558e-05/1.577, allocations: 82.77 kB / 0.8042 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 6.102e-06/1.577, allocations: 0 / 0.8042 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.06647/1.643, allocations: 26.62 MB / 0.8302 GB, free: 7.41 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.643, allocations: 133.3 kB / 0.8303 GB, free: 7.258 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.654, allocations: 5.792 MB / 0.836 GB, free: 1.551 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001089/1.655, allocations: 109.7 kB / 0.8361 GB, free: 1.438 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.005256/1.66, allocations: 6.371 MB / 0.8423 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002694/1.663, allocations: 1.826 MB / 0.8441 GB, free: 9.383 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003002/1.666, allocations: 1.481 MB / 0.8455 GB, free: 7.895 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.666, allocations: 301.1 kB / 0.8458 GB, free: 7.598 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006403/1.672, allocations: 3.634 MB / 0.8494 GB, free: 3.961 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2644/1.937, allocations: 6.484 MB / 0.8557 GB, free: 177.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/1.951, allocations: 10.79 MB / 0.8663 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001668/1.951, allocations: 27.47 kB / 0.8663 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02576/1.976, allocations: 12.1 MB / 0.8781 GB, free: 168 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/1.977, allocations: 48.81 kB / 0.8781 GB, free: 168 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/1.977, allocations: 94.28 kB / 0.8782 GB, free: 168 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005021/1.982, allocations: 1.585 MB / 0.8798 GB, free: 167.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007345/1.989, allocations: 1.676 MB / 0.8814 GB, free: 167.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02194/2.011, allocations: 19.64 MB / 0.9006 GB, free: 154.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006334/2.017, allocations: 421.6 kB / 0.901 GB, free: 154.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/2.019, allocations: 377.2 kB / 0.9014 GB, free: 154.3 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.008236/2.027, allocations: 5.194 MB / 0.9064 GB, free: 151.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001613/2.029, allocations: 0.6256 MB / 0.907 GB, free: 151.8 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01621/2.045, allocations: 9.312 MB / 0.9161 GB, free: 148 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009553/2.054, allocations: 5.852 MB / 0.9218 GB, free: 145.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.143e-05/2.055, allocations: 23.28 kB / 0.9219 GB, free: 145.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.73e-05/2.055, allocations: 26.25 kB / 0.9219 GB, free: 145.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03588/2.091, allocations: 21.01 MB / 0.9424 GB, free: 134.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/2.091, allocations: 8 kB / 0.9424 GB, free: 134.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003696/2.094, allocations: 0.8699 MB / 0.9433 GB, free: 133.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004465/2.099, allocations: 1.638 MB / 0.9449 GB, free: 131.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005884/2.099, allocations: 135.9 kB / 0.945 GB, free: 131.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/2.121, allocations: 23.21 MB / 0.9677 GB, free: 107.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/2.121, allocations: 11.94 kB / 0.9677 GB, free: 107.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/2.14, allocations: 13.72 MB / 0.9811 GB, free: 93.81 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004561/2.145, allocations: 1.399 MB / 0.9824 GB, free: 92.39 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/2.146, allocations: 107.9 kB / 0.9825 GB, free: 92.29 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003439/2.149, allocations: 281.5 kB / 0.9828 GB, free: 92.02 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009249/2.15, allocations: 416.4 kB / 0.9832 GB, free: 91.61 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003237/2.151, allocations: 167.9 kB / 0.9834 GB, free: 91.44 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005798/2.157, allocations: 3.9 MB / 0.9872 GB, free: 87.57 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.4e-07/2.157, allocations: 0 / 0.9872 GB, free: 87.57 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01062/2.167, allocations: 2.342 MB / 0.9895 GB, free: 85.23 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.0196/2.187, allocations: 14.5 MB / 1.004 GB, free: 70.38 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01421/2.201, allocations: 9.539 MB / 1.013 GB, free: 60.75 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/2.201, allocations: 0 / 1.013 GB, free: 60.75 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007961/2.209, allocations: 5.144 MB / 1.018 GB, free: 55.52 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008635/2.218, allocations: 1.644 MB / 1.02 GB, free: 53.93 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3947/2.612, allocations: 80.17 MB / 1.098 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01153/2.624, allocations: 8.859 MB / 1.107 GB, free: 160.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00661/2.63, allocations: 2.537 MB / 1.109 GB, free: 160.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007413/2.638, allocations: 5.198 MB / 1.114 GB, free: 156 MB / 0.5763 GB Notification: Performance of SimCode: time 1.262e-06/2.638, allocations: 0 / 1.114 GB, free: 156 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5439/3.182, allocations: 189.5 MB / 1.299 GB, free: 146 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.87/28.05, allocations: 3.703 kB / 1.299 GB, free: 146 MB / 0.5919 GB " [Timeout remaining time 632] (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: 31.339487189077772]