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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3334, allocations: 50.53 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0526/0.3861, allocations: 38.92 MB / 447.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02561/0.4118, allocations: 10.32 MB / 458 MB, free: 76 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01033/0.4221, allocations: 295.1 kB / 458.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02617/0.4483, allocations: 10.19 MB / 468.5 MB, free: 5.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.4638, allocations: 4.044 MB / 472.6 MB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008064/0.4719, allocations: 2.42 MB / 475 MB, free: 15.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02519/0.4971, allocations: 16.52 MB / 491.5 MB, free: 14.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05129/0.5484, allocations: 31.2 MB / 0.5105 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01571/0.5642, allocations: 8.47 MB / 0.5187 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01796/0.5822, allocations: 9.496 MB / 0.528 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008888/0.5911, allocations: 2.418 MB / 0.5304 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.6018, allocations: 2.832 MB / 0.5331 GB, free: 7.789 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00923/0.6111, allocations: 4.816 MB / 0.5378 GB, free: 2.961 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.5299/1.141, allocations: 9.205 MB / 0.5468 GB, free: 48.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0399/1.181, allocations: 32.23 MB / 0.5783 GB, free: 40.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/1.181, allocations: 2.406 kB / 0.5783 GB, free: 40.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/1.181, allocations: 2.625 kB / 0.5783 GB, free: 40.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001001/1.182, allocations: 0 / 0.5783 GB, free: 40.52 MB / 462.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.06152/1.244, allocations: 19.07 MB / 0.5969 GB, free: 28.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.244, allocations: 7.719 kB / 0.5969 GB, free: 28.59 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009432/1.253, allocations: 2.288 MB / 0.5992 GB, free: 27.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04555/1.299, allocations: 8.424 MB / 0.6074 GB, free: 22.92 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02159/1.32, allocations: 10.27 MB / 0.6174 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008696/1.321, allocations: 1.057 MB / 0.6185 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006342/1.328, allocations: 1.399 MB / 0.6198 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06844/1.396, allocations: 22.75 MB / 0.642 GB, free: 3.867 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008605/1.397, allocations: 19.89 kB / 0.6421 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006025/1.403, allocations: 0.579 MB / 0.6426 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001038/1.404, allocations: 0.7832 MB / 0.6434 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05432/1.458, allocations: 21.01 MB / 0.6639 GB, free: 13.48 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1596/1.618, allocations: 72.85 MB / 0.735 GB, free: 4.234 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2934/1.911, allocations: 42.71 MB / 0.7767 GB, free: 175.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009111/1.921, allocations: 5.197 MB / 0.7818 GB, free: 175.8 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02356/1.944, allocations: 12.98 MB / 0.7945 GB, free: 173.3 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.135e-05/1.944, allocations: 98.25 kB / 0.7946 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.634e-06/1.944, allocations: 0 / 0.7946 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05055/1.995, allocations: 26.61 MB / 0.8206 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/1.995, allocations: 131.8 kB / 0.8207 GB, free: 161.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008301/2.003, allocations: 5.787 MB / 0.8264 GB, free: 159.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001039/2.004, allocations: 109.6 kB / 0.8265 GB, free: 159.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00379/2.008, allocations: 6.378 MB / 0.8327 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002067/2.01, allocations: 1.815 MB / 0.8345 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002133/2.012, allocations: 1.474 MB / 0.8359 GB, free: 150.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.443e-05/2.012, allocations: 301.1 kB / 0.8362 GB, free: 150.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004559/2.017, allocations: 3.626 MB / 0.8397 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005766/2.023, allocations: 6.476 MB / 0.8461 GB, free: 140.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/2.034, allocations: 10.76 MB / 0.8566 GB, free: 129.3 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.37e-05/2.034, allocations: 24 kB / 0.8566 GB, free: 129.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01787/2.052, allocations: 12.13 MB / 0.8684 GB, free: 117.2 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.137e-05/2.052, allocations: 47.75 kB / 0.8685 GB, free: 117.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/2.052, allocations: 92 kB / 0.8686 GB, free: 117.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/2.056, allocations: 1.592 MB / 0.8701 GB, free: 115.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005841/2.062, allocations: 1.661 MB / 0.8717 GB, free: 113.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0186/2.081, allocations: 19.65 MB / 0.8909 GB, free: 93.48 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006582/2.087, allocations: 431.6 kB / 0.8913 GB, free: 93.05 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/2.088, allocations: 372 kB / 0.8917 GB, free: 92.69 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.009017/2.097, allocations: 5.187 MB / 0.8968 GB, free: 87.49 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/2.099, allocations: 0.6288 MB / 0.8974 GB, free: 86.86 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/2.113, allocations: 9.37 MB / 0.9065 GB, free: 77.39 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007906/2.121, allocations: 5.865 MB / 0.9122 GB, free: 71.49 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.962e-05/2.121, allocations: 16 kB / 0.9123 GB, free: 71.48 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-05/2.121, allocations: 31.89 kB / 0.9123 GB, free: 71.45 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03528/2.156, allocations: 21.02 MB / 0.9328 GB, free: 50.33 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.439e-05/2.156, allocations: 12.16 kB / 0.9328 GB, free: 50.32 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/2.16, allocations: 0.8582 MB / 0.9337 GB, free: 49.46 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004245/2.164, allocations: 1.642 MB / 0.9353 GB, free: 47.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006805/2.165, allocations: 124 kB / 0.9354 GB, free: 47.68 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/2.186, allocations: 23.21 MB / 0.9581 GB, free: 23.52 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/2.186, allocations: 8 kB / 0.9581 GB, free: 23.52 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02127/2.207, allocations: 13.75 MB / 0.9715 GB, free: 9.414 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00383/2.211, allocations: 1.391 MB / 0.9728 GB, free: 8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001662/2.213, allocations: 108 kB / 0.973 GB, free: 7.895 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003861/2.217, allocations: 287.7 kB / 0.9732 GB, free: 7.613 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001199/2.218, allocations: 408.4 kB / 0.9736 GB, free: 7.215 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004238/2.218, allocations: 159.9 kB / 0.9738 GB, free: 7.059 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006701/2.225, allocations: 3.9 MB / 0.9776 GB, free: 3.188 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.4e-07/2.225, allocations: 0 / 0.9776 GB, free: 3.188 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01045/2.236, allocations: 2.344 MB / 0.9799 GB, free: 0.8438 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.3053/2.541, allocations: 14.52 MB / 0.994 GB, free: 184.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01712/2.558, allocations: 9.903 MB / 1.004 GB, free: 183.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/2.558, allocations: 3.062 kB / 1.004 GB, free: 183.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008101/2.566, allocations: 5.45 MB / 1.009 GB, free: 180.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008377/2.575, allocations: 1.644 MB / 1.011 GB, free: 180 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1362/2.711, allocations: 80.32 MB / 1.089 GB, free: 114.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01245/2.723, allocations: 8.872 MB / 1.098 GB, free: 105.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006813/2.73, allocations: 2.531 MB / 1.1 GB, free: 103.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008061/2.738, allocations: 5.174 MB / 1.105 GB, free: 97.95 MB / 0.5763 GB Notification: Performance of SimCode: time 1.333e-06/2.738, allocations: 0 / 1.105 GB, free: 97.95 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5421/3.28, allocations: 187.4 MB / 1.288 GB, free: 136.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.92/28.2, allocations: 448 / 1.288 GB, free: 136.1 MB / 0.5763 GB (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) 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) Reference file matches