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.001753/0.001753, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002132/0.002132, allocations: 205.2 kB / 23.72 MB, free: 4.391 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: 7.746 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.003072/0.003072, allocations: 63.91 kB / 377.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2966, allocations: 53.4 MB / 431.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0433/0.3399, allocations: 33.4 MB / 464.6 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0245/0.3644, allocations: 10.04 MB / 474.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008348/0.3728, allocations: 354.1 kB / 475 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02578/0.3986, allocations: 9.575 MB / 484.6 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01717/0.4157, allocations: 4.133 MB / 488.7 MB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009017/0.4247, allocations: 2.407 MB / 491.1 MB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02509/0.4498, allocations: 16.66 MB / 0.4959 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04037/0.4902, allocations: 20.3 MB / 0.5157 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0215/0.5117, allocations: 8.712 MB / 0.5242 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02054/0.5322, allocations: 9.206 MB / 0.5332 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006554/0.5388, allocations: 2.414 MB / 0.5355 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.402/0.9408, allocations: 2.803 MB / 0.5383 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006459/0.9472, allocations: 4.821 MB / 0.543 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01318/0.9604, allocations: 7.173 MB / 0.55 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03436/0.9948, allocations: 32.37 MB / 0.5816 GB, free: 23.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.9948, allocations: 0.8125 kB / 0.5816 GB, free: 23.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.9948, allocations: 0 / 0.5816 GB, free: 23.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007656/0.9956, allocations: 0.8438 kB / 0.5816 GB, free: 23.06 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.05619/1.052, allocations: 18.97 MB / 0.6001 GB, free: 11.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.052, allocations: 12.61 kB / 0.6001 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008975/1.061, allocations: 2.291 MB / 0.6024 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04763/1.108, allocations: 8.278 MB / 0.6105 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02706/1.135, allocations: 10.35 MB / 0.6206 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001552/1.137, allocations: 1.061 MB / 0.6216 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007853/1.145, allocations: 1.399 MB / 0.623 GB, free: 6.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07605/1.221, allocations: 23.11 MB / 0.6455 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007384/1.222, allocations: 27.84 kB / 0.6456 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005244/1.227, allocations: 0.5756 MB / 0.6461 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00102/1.228, allocations: 0.7793 MB / 0.6469 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05021/1.278, allocations: 20.98 MB / 0.6674 GB, free: 8.922 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.169/1.447, allocations: 65.12 MB / 0.731 GB, free: 7.664 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03277/1.48, allocations: 13.87 MB / 0.7445 GB, free: 11.82 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01075/1.491, allocations: 4.73 MB / 0.7491 GB, free: 7.086 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2894/1.78, allocations: 11.48 MB / 0.7603 GB, free: 193.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.169e-05/1.78, allocations: 91.08 kB / 0.7604 GB, free: 193.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.075e-06/1.78, allocations: 1.438 kB / 0.7604 GB, free: 193.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.0603/1.84, allocations: 25.87 MB / 0.7857 GB, free: 187.6 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/1.841, allocations: 132.1 kB / 0.7858 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009629/1.85, allocations: 5.958 MB / 0.7916 GB, free: 185.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001146/1.851, allocations: 105.2 kB / 0.7917 GB, free: 185.2 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004365/1.856, allocations: 6.37 MB / 0.798 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002447/1.858, allocations: 1.814 MB / 0.7997 GB, free: 179 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003103/1.861, allocations: 1.481 MB / 0.8012 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/1.861, allocations: 305 kB / 0.8015 GB, free: 178 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004529/1.866, allocations: 3.643 MB / 0.805 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005967/1.872, allocations: 6.533 MB / 0.8114 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/1.884, allocations: 10.79 MB / 0.8219 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-05/1.884, allocations: 24 kB / 0.822 GB, free: 159 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02026/1.904, allocations: 12.02 MB / 0.8337 GB, free: 148.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.904, allocations: 44 kB / 0.8337 GB, free: 148.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/1.904, allocations: 93.84 kB / 0.8338 GB, free: 148.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004184/1.908, allocations: 1.585 MB / 0.8354 GB, free: 147.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006199/1.915, allocations: 1.679 MB / 0.837 GB, free: 145.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/1.935, allocations: 18.87 MB / 0.8554 GB, free: 126.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006629/1.942, allocations: 423.6 kB / 0.8559 GB, free: 126.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/1.944, allocations: 371.9 kB / 0.8562 GB, free: 125.9 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.01007/1.954, allocations: 5.199 MB / 0.8613 GB, free: 120.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00201/1.956, allocations: 0.6288 MB / 0.8619 GB, free: 120 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01672/1.972, allocations: 9.159 MB / 0.8708 GB, free: 110.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008742/1.981, allocations: 5.852 MB / 0.8766 GB, free: 105 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.389e-05/1.981, allocations: 20 kB / 0.8766 GB, free: 104.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.41e-05/1.981, allocations: 27.89 kB / 0.8766 GB, free: 104.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04108/2.022, allocations: 19.97 MB / 0.8961 GB, free: 84.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/2.022, allocations: 4 kB / 0.8961 GB, free: 84.87 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003778/2.026, allocations: 0.8698 MB / 0.897 GB, free: 84 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00441/2.031, allocations: 1.631 MB / 0.8986 GB, free: 82.35 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008607/2.031, allocations: 131.9 kB / 0.8987 GB, free: 82.22 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02144/2.053, allocations: 22.19 MB / 0.9203 GB, free: 59.26 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/2.053, allocations: 7.938 kB / 0.9203 GB, free: 59.25 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02201/2.075, allocations: 13.58 MB / 0.9336 GB, free: 45.36 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005206/2.08, allocations: 1.355 MB / 0.9349 GB, free: 44 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002337/2.082, allocations: 107.9 kB / 0.935 GB, free: 43.89 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004497/2.087, allocations: 279.7 kB / 0.9353 GB, free: 43.62 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001417/2.088, allocations: 436.2 kB / 0.9357 GB, free: 43.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008116/2.089, allocations: 159.9 kB / 0.9359 GB, free: 43.04 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007858/2.097, allocations: 3.908 MB / 0.9397 GB, free: 39.16 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.6e-07/2.097, allocations: 4 kB / 0.9397 GB, free: 39.16 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01158/2.109, allocations: 2.336 MB / 0.942 GB, free: 36.82 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.02384/2.132, allocations: 14.36 MB / 0.956 GB, free: 22.14 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01497/2.147, allocations: 9.46 MB / 0.9652 GB, free: 12.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/2.147, allocations: 0 / 0.9652 GB, free: 12.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00835/2.156, allocations: 5.144 MB / 0.9703 GB, free: 7.367 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009568/2.165, allocations: 1.647 MB / 0.9719 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3488/2.514, allocations: 80.18 MB / 1.05 GB, free: 161.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01173/2.526, allocations: 8.504 MB / 1.058 GB, free: 152.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007383/2.533, allocations: 2.535 MB / 1.061 GB, free: 150.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008005/2.541, allocations: 5.205 MB / 1.066 GB, free: 145 MB / 0.5763 GB Notification: Performance of SimCode: time 9.92e-07/2.541, allocations: 0 / 1.066 GB, free: 145 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5103/3.052, allocations: 195.1 MB / 1.256 GB, free: 168.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.65/24.7, allocations: 4.062 kB / 1.257 GB, free: 168.2 MB / 0.5763 GB " [Timeout remaining time 635] (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: 28.03072834899649]