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.00186/0.00186, allocations: 116.7 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.002207/0.002207, allocations: 213.6 kB / 23.74 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.439/1.439, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.00187/0.00187, allocations: 63.84 kB / 377.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2571, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0481/0.3052, allocations: 39.16 MB / 470.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02422/0.3295, allocations: 10.36 MB / 480.8 MB, free: 4.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008335/0.3378, allocations: 362 kB / 481.1 MB, free: 4.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02709/0.3649, allocations: 10.33 MB / 491.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01712/0.382, allocations: 4.211 MB / 495.7 MB, free: 6.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008756/0.3907, allocations: 2.499 MB / 498.2 MB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02659/0.4173, allocations: 16.66 MB / 0.5028 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04485/0.4622, allocations: 20.6 MB / 0.5229 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01716/0.4793, allocations: 8.704 MB / 0.5314 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4543/0.9337, allocations: 9.606 MB / 0.5407 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007354/0.941, allocations: 2.419 MB / 0.5431 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/0.9518, allocations: 2.845 MB / 0.5459 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008536/0.9603, allocations: 4.827 MB / 0.5506 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01761/0.9779, allocations: 9.215 MB / 0.5596 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03198/1.01, allocations: 32.24 MB / 0.5911 GB, free: 8.945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.01, allocations: 0 / 0.5911 GB, free: 8.945 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.256e-06/1.01, allocations: 0 / 0.5911 GB, free: 8.945 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001089/1.011, allocations: 3.906 kB / 0.5911 GB, free: 8.945 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.05722/1.068, allocations: 18.99 MB / 0.6096 GB, free: 11.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/1.068, allocations: 12.03 kB / 0.6096 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008833/1.077, allocations: 2.287 MB / 0.6119 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04737/1.124, allocations: 8.275 MB / 0.62 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02496/1.149, allocations: 10.38 MB / 0.6301 GB, free: 7.066 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001348/1.151, allocations: 1.063 MB / 0.6311 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005934/1.157, allocations: 1.4 MB / 0.6325 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06319/1.22, allocations: 22.79 MB / 0.6548 GB, free: 13.79 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006989/1.221, allocations: 23.89 kB / 0.6548 GB, free: 13.76 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005621/1.226, allocations: 0.5798 MB / 0.6553 GB, free: 13.2 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009995/1.227, allocations: 0.7793 MB / 0.6561 GB, free: 12.41 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05106/1.278, allocations: 21.06 MB / 0.6767 GB, free: 7.348 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1499/1.428, allocations: 71.08 MB / 0.7461 GB, free: 116 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2679/1.696, allocations: 13.97 MB / 0.7597 GB, free: 192 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006877/1.703, allocations: 4.733 MB / 0.7644 GB, free: 190.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02122/1.724, allocations: 12.67 MB / 0.7767 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/1.724, allocations: 95.02 kB / 0.7768 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.935e-06/1.724, allocations: 2.781 kB / 0.7768 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.04978/1.774, allocations: 25.87 MB / 0.8021 GB, free: 174 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/1.774, allocations: 135.5 kB / 0.8022 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008032/1.782, allocations: 5.794 MB / 0.8079 GB, free: 170.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001046/1.783, allocations: 105.7 kB / 0.808 GB, free: 169.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003253/1.786, allocations: 6.371 MB / 0.8142 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001876/1.788, allocations: 1.824 MB / 0.816 GB, free: 162.5 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001939/1.79, allocations: 1.474 MB / 0.8174 GB, free: 161.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/1.79, allocations: 309.1 kB / 0.8177 GB, free: 160.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004387/1.795, allocations: 3.634 MB / 0.8213 GB, free: 157.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005533/1.8, allocations: 6.482 MB / 0.8276 GB, free: 149.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.811, allocations: 10.79 MB / 0.8381 GB, free: 137.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.345e-05/1.811, allocations: 28 kB / 0.8381 GB, free: 137.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01765/1.829, allocations: 12.02 MB / 0.8499 GB, free: 125.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/1.829, allocations: 44.78 kB / 0.8499 GB, free: 125.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.914e-05/1.829, allocations: 95.94 kB / 0.85 GB, free: 125 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003686/1.832, allocations: 1.591 MB / 0.8516 GB, free: 123.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005667/1.838, allocations: 1.673 MB / 0.8532 GB, free: 121.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/1.857, allocations: 19.12 MB / 0.8719 GB, free: 102 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006941/1.864, allocations: 423.6 kB / 0.8723 GB, free: 101.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.865, allocations: 371.9 kB / 0.8726 GB, free: 101.2 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.008451/1.873, allocations: 5.199 MB / 0.8777 GB, free: 96.03 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/1.875, allocations: 0.6327 MB / 0.8783 GB, free: 95.39 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/1.888, allocations: 9.162 MB / 0.8873 GB, free: 86.18 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007663/1.896, allocations: 5.86 MB / 0.893 GB, free: 80.29 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-05/1.896, allocations: 20 kB / 0.893 GB, free: 80.27 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.629e-05/1.896, allocations: 27.89 kB / 0.8931 GB, free: 80.24 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03373/1.93, allocations: 20.92 MB / 0.9135 GB, free: 59.24 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/1.93, allocations: 11.98 kB / 0.9135 GB, free: 59.23 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003455/1.933, allocations: 0.8706 MB / 0.9143 GB, free: 58.36 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004031/1.937, allocations: 1.638 MB / 0.9159 GB, free: 56.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005876/1.938, allocations: 128 kB / 0.9161 GB, free: 56.58 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02049/1.958, allocations: 22.49 MB / 0.938 GB, free: 33.31 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.958, allocations: 11.94 kB / 0.938 GB, free: 33.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/1.977, allocations: 13.57 MB / 0.9513 GB, free: 19.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003635/1.98, allocations: 1.35 MB / 0.9526 GB, free: 18.05 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/1.982, allocations: 108 kB / 0.9527 GB, free: 17.94 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/1.984, allocations: 279.7 kB / 0.953 GB, free: 17.67 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007981/1.985, allocations: 440.1 kB / 0.9534 GB, free: 17.24 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003069/1.985, allocations: 160 kB / 0.9536 GB, free: 17.08 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004945/1.99, allocations: 3.908 MB / 0.9574 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.1e-08/1.99, allocations: 0 / 0.9574 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007791/1.998, allocations: 2.336 MB / 0.9597 GB, free: 10.87 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.27/2.268, allocations: 14.35 MB / 0.9737 GB, free: 174.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01494/2.283, allocations: 9.453 MB / 0.9829 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/2.283, allocations: 3.969 kB / 0.9829 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007704/2.291, allocations: 5.146 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.00732/2.298, allocations: 1.642 MB / 0.9895 GB, free: 169.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1369/2.435, allocations: 80.22 MB / 1.068 GB, free: 115.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/2.447, allocations: 8.851 MB / 1.077 GB, free: 107.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006272/2.453, allocations: 2.547 MB / 1.079 GB, free: 104.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006444/2.459, allocations: 5.197 MB / 1.084 GB, free: 99.48 MB / 0.5763 GB Notification: Performance of SimCode: time 1.082e-06/2.459, allocations: 0 / 1.084 GB, free: 99.48 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5514/3.011, allocations: 196.1 MB / 1.276 GB, free: 145.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.37/29.38, allocations: 8.172 kB / 1.276 GB, free: 145.4 MB / 0.5919 GB " [Timeout remaining time 630] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 40.04963293997571]