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.0008143/0.0008143, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001342/0.001342, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8828/0.8828, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.392e-06/1.392e-06, allocations: 0 / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.682e-05, allocations: 3.125 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02501/0.02502, allocations: 33.45 MB / 358 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02078/0.04581, allocations: 10.04 MB / 368.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006814/0.05262, allocations: 358.1 kB / 368.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0136/0.06622, allocations: 10.08 MB / 378.5 MB, free: 9.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.07866, allocations: 4.231 MB / 382.7 MB, free: 5.473 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005735/0.08439, allocations: 2.43 MB / 385.2 MB, free: 3.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01706/0.1015, allocations: 17.24 MB / 402.4 MB, free: 1.746 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02707/0.1285, allocations: 20.37 MB / 422.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01847/0.147, allocations: 12.78 MB / 435.5 MB, free: 368 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01215/0.1591, allocations: 8.139 MB / 443.7 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0066/0.1657, allocations: 2.414 MB / 446.1 MB, free: 5.785 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008808/0.1746, allocations: 2.831 MB / 448.9 MB, free: 2.953 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.3206/0.4951, allocations: 4.907 MB / 453.8 MB, free: 45.15 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01876/0.5139, allocations: 6.186 MB / 460 MB, free: 45.15 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03175/0.5456, allocations: 32.63 MB / 492.7 MB, free: 36.1 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.5456, allocations: 0 / 492.7 MB, free: 36.1 MB / 410.8 MB Notification: Performance of FrontEnd: time 3.276e-06/0.5456, allocations: 0.75 kB / 492.7 MB, free: 36.1 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001309/0.5469, allocations: 0 / 492.7 MB, free: 36.1 MB / 410.8 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.04567/0.5926, allocations: 18.83 MB / 0.4995 GB, free: 24.29 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.5927, allocations: 11.58 kB / 0.4995 GB, free: 24.29 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008998/0.6017, allocations: 2.292 MB / 0.5017 GB, free: 22.82 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02635/0.628, allocations: 8.285 MB / 0.5098 GB, free: 17.51 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01912/0.6471, allocations: 10.34 MB / 0.5199 GB, free: 7.594 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000715/0.6478, allocations: 1.061 MB / 0.521 GB, free: 6.543 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00535/0.6532, allocations: 1.408 MB / 0.5223 GB, free: 5.152 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05934/0.7125, allocations: 23.09 MB / 0.5449 GB, free: 13.93 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005693/0.7131, allocations: 31.25 kB / 0.5449 GB, free: 13.9 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005798/0.7189, allocations: 0.5779 MB / 0.5455 GB, free: 13.34 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006462/0.7195, allocations: 0.7793 MB / 0.5463 GB, free: 12.56 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0424/0.762, allocations: 20.99 MB / 0.5667 GB, free: 7.566 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3106/1.073, allocations: 65.15 MB / 0.6304 GB, free: 141.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01735/1.09, allocations: 13.86 MB / 0.6439 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006721/1.097, allocations: 4.743 MB / 0.6485 GB, free: 141 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02027/1.117, allocations: 11.48 MB / 0.6598 GB, free: 140.4 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.621e-05/1.117, allocations: 86.45 kB / 0.6598 GB, free: 140.4 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=498): time 6.933e-06/1.117, allocations: 3.719 kB / 0.6598 GB, free: 140.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=506): time 0.04454/1.161, allocations: 25.86 MB / 0.6851 GB, free: 129 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/1.162, allocations: 129.3 kB / 0.6852 GB, free: 128.8 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008594/1.17, allocations: 5.962 MB / 0.691 GB, free: 123.6 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.00119/1.171, allocations: 110.9 kB / 0.6912 GB, free: 123.5 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002835/1.174, allocations: 6.348 MB / 0.6974 GB, free: 117.2 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002024/1.176, allocations: 1.793 MB / 0.6991 GB, free: 115.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003295/1.179, allocations: 1.47 MB / 0.7005 GB, free: 113.9 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/1.18, allocations: 305.1 kB / 0.7008 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004541/1.184, allocations: 3.637 MB / 0.7044 GB, free: 110 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006447/1.191, allocations: 6.532 MB / 0.7108 GB, free: 102.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/1.201, allocations: 10.79 MB / 0.7213 GB, free: 90 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001388/1.202, allocations: 24 kB / 0.7213 GB, free: 89.98 MB / 0.4949 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01932/1.221, allocations: 12.02 MB / 0.7331 GB, free: 77.92 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 6.471e-05/1.221, allocations: 47.75 kB / 0.7331 GB, free: 77.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/1.221, allocations: 93.09 kB / 0.7332 GB, free: 77.79 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/1.224, allocations: 1.584 MB / 0.7347 GB, free: 76.18 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/1.228, allocations: 1.673 MB / 0.7364 GB, free: 74.51 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.243, allocations: 18.85 MB / 0.7548 GB, free: 55.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005786/1.249, allocations: 423.6 kB / 0.7552 GB, free: 54.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/1.25, allocations: 375.9 kB / 0.7555 GB, free: 54.33 MB / 0.4949 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.00843/1.259, allocations: 5.196 MB / 0.7606 GB, free: 49.12 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.26, allocations: 0.6327 MB / 0.7612 GB, free: 48.48 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.271, allocations: 9.154 MB / 0.7702 GB, free: 39.27 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005789/1.277, allocations: 5.856 MB / 0.7759 GB, free: 33.38 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-05/1.277, allocations: 16 kB / 0.7759 GB, free: 33.36 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-05/1.277, allocations: 27.89 kB / 0.7759 GB, free: 33.34 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03123/1.308, allocations: 19.98 MB / 0.7955 GB, free: 13.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.308, allocations: 4 kB / 0.7955 GB, free: 13.29 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/1.31, allocations: 0.8698 MB / 0.7963 GB, free: 12.42 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/1.313, allocations: 1.631 MB / 0.7979 GB, free: 10.77 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003813/1.313, allocations: 128 kB / 0.798 GB, free: 10.64 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2065/1.52, allocations: 22.16 MB / 0.8197 GB, free: 140.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.52, allocations: 11.5 kB / 0.8197 GB, free: 140.3 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.536, allocations: 13.56 MB / 0.8329 GB, free: 138.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00294/1.539, allocations: 1.35 MB / 0.8342 GB, free: 138.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008131/1.54, allocations: 107 kB / 0.8343 GB, free: 138.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/1.541, allocations: 284 kB / 0.8346 GB, free: 138 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007833/1.542, allocations: 439.8 kB / 0.835 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/1.542, allocations: 157.2 kB / 0.8352 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006182/1.549, allocations: 3.905 MB / 0.839 GB, free: 136.5 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.01e-07/1.549, allocations: 7.25 kB / 0.839 GB, free: 136.5 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008885/1.557, allocations: 2.332 MB / 0.8413 GB, free: 136.3 MB / 0.4949 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.01482/1.572, allocations: 14.34 MB / 0.8553 GB, free: 129.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01099/1.583, allocations: 9.454 MB / 0.8645 GB, free: 122.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.583, allocations: 4 kB / 0.8645 GB, free: 122.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005076/1.588, allocations: 5.134 MB / 0.8695 GB, free: 117.9 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005931/1.594, allocations: 1.648 MB / 0.8711 GB, free: 116.6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1311/1.725, allocations: 80.19 MB / 0.9494 GB, free: 37.14 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0103/1.736, allocations: 8.499 MB / 0.9577 GB, free: 28.59 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.00506/1.741, allocations: 2.531 MB / 0.9602 GB, free: 26.05 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008047/1.749, allocations: 5.202 MB / 0.9653 GB, free: 20.85 MB / 0.4949 GB Notification: Performance of SimCode: time 2.395e-06/1.749, allocations: 4 kB / 0.9653 GB, free: 20.85 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3679/2.117, allocations: 194.6 MB / 1.155 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/16.33, allocations: 15.69 kB / 1.155 GB, free: 45.7 MB / 0.5105 GB " [Timeout remaining time 644] (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/jenkins/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/jenkins/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] "" Variables in the reference:time,Itr,Iqs Variables in the result:time,Iqs,Itr [Calling sys.exit(0), Time elapsed: 18.529194632545114]