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.001811/0.001811, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002338/0.002338, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.528/1.528, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001921/0.001921, allocations: 63.88 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09916, allocations: 53.33 MB / 426.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2332/0.3324, allocations: 39.07 MB / 465.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02722/0.3596, allocations: 10.34 MB / 476.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00954/0.3691, allocations: 293.6 kB / 476.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0259/0.395, allocations: 10.32 MB / 486.7 MB, free: 2.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02038/0.4154, allocations: 4.139 MB / 490.9 MB, free: 15.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.4259, allocations: 2.442 MB / 493.3 MB, free: 13.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02786/0.4538, allocations: 16.52 MB / 0.4979 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04686/0.5006, allocations: 23.68 MB / 0.521 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01515/0.5158, allocations: 8.521 MB / 0.5293 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01702/0.5328, allocations: 9.593 MB / 0.5387 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008034/0.5408, allocations: 2.414 MB / 0.5411 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009688/0.5505, allocations: 2.831 MB / 0.5438 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00911/0.5596, allocations: 4.832 MB / 0.5485 GB, free: 9.902 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02032/0.58, allocations: 9.206 MB / 0.5575 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04437/0.6243, allocations: 32.24 MB / 0.589 GB, free: 328 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.6243, allocations: 4 kB / 0.589 GB, free: 324 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6243, allocations: 0 / 0.589 GB, free: 324 kB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009178/0.6253, allocations: 0 / 0.589 GB, free: 324 kB / 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.06073/0.686, allocations: 19.07 MB / 0.6076 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.686, allocations: 12.03 kB / 0.6077 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008728/0.6948, allocations: 2.282 MB / 0.6099 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04732/0.7421, allocations: 8.286 MB / 0.618 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4137/1.156, allocations: 10.28 MB / 0.628 GB, free: 138.5 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001364/1.157, allocations: 1.062 MB / 0.629 GB, free: 138 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006216/1.163, allocations: 1.4 MB / 0.6304 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06212/1.225, allocations: 22.8 MB / 0.6527 GB, free: 128.5 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006369/1.226, allocations: 29.16 kB / 0.6527 GB, free: 128.5 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004132/1.23, allocations: 0.5743 MB / 0.6533 GB, free: 128 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007949/1.231, allocations: 0.7832 MB / 0.654 GB, free: 127.9 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03801/1.269, allocations: 21.06 MB / 0.6746 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1063/1.375, allocations: 72.87 MB / 0.7458 GB, free: 41.02 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02674/1.402, allocations: 42.12 MB / 0.7869 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009911/1.412, allocations: 4.745 MB / 0.7915 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02754/1.439, allocations: 13.04 MB / 0.8043 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.374e-05/1.44, allocations: 90.77 kB / 0.8043 GB, free: 8.188 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 7.855e-06/1.44, allocations: 4 kB / 0.8043 GB, free: 8.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.06173/1.501, allocations: 26.62 MB / 0.8303 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.501, allocations: 129.3 kB / 0.8305 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00939/1.511, allocations: 5.793 MB / 0.8361 GB, free: 7.465 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008808/1.512, allocations: 105.7 kB / 0.8362 GB, free: 7.355 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00519/1.517, allocations: 6.378 MB / 0.8425 GB, free: 0.9609 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.2223/1.739, allocations: 1.808 MB / 0.8442 GB, free: 186.4 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002543/1.742, allocations: 1.486 MB / 0.8457 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/1.742, allocations: 304.4 kB / 0.846 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005387/1.747, allocations: 3.638 MB / 0.8495 GB, free: 186 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007497/1.755, allocations: 6.479 MB / 0.8558 GB, free: 181.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/1.769, allocations: 10.79 MB / 0.8664 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002124/1.769, allocations: 27.25 kB / 0.8664 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02379/1.793, allocations: 12.1 MB / 0.8782 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.793, allocations: 45.38 kB / 0.8783 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001864/1.794, allocations: 92.56 kB / 0.8784 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/1.798, allocations: 1.59 MB / 0.8799 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/1.804, allocations: 1.67 MB / 0.8815 GB, free: 168.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/1.823, allocations: 19.63 MB / 0.9007 GB, free: 155.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005813/1.829, allocations: 427.6 kB / 0.9011 GB, free: 155.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009885/1.83, allocations: 378.5 kB / 0.9015 GB, free: 155.7 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.007582/1.838, allocations: 5.2 MB / 0.9066 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.839, allocations: 0.6266 MB / 0.9072 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/1.853, allocations: 9.298 MB / 0.9162 GB, free: 149.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00811/1.861, allocations: 5.86 MB / 0.922 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.369e-05/1.861, allocations: 23.98 kB / 0.922 GB, free: 144.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.057e-05/1.861, allocations: 30.02 kB / 0.922 GB, free: 144.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03196/1.893, allocations: 21.02 MB / 0.9425 GB, free: 125.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/1.893, allocations: 8 kB / 0.9426 GB, free: 125.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003514/1.897, allocations: 0.8667 MB / 0.9434 GB, free: 124.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00413/1.901, allocations: 1.637 MB / 0.945 GB, free: 122.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007441/1.902, allocations: 135.9 kB / 0.9451 GB, free: 122.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01972/1.921, allocations: 23.21 MB / 0.9678 GB, free: 98.46 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.921, allocations: 11.94 kB / 0.9678 GB, free: 98.45 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/1.939, allocations: 13.72 MB / 0.9812 GB, free: 84.36 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003503/1.942, allocations: 1.399 MB / 0.9826 GB, free: 82.95 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/1.943, allocations: 108 kB / 0.9827 GB, free: 82.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002814/1.946, allocations: 279.7 kB / 0.9829 GB, free: 82.57 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008546/1.947, allocations: 416.3 kB / 0.9833 GB, free: 82.16 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000311/1.947, allocations: 163.9 kB / 0.9835 GB, free: 82 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005012/1.952, allocations: 3.904 MB / 0.9873 GB, free: 78.12 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/1.952, allocations: 0 / 0.9873 GB, free: 78.12 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008003/1.96, allocations: 2.336 MB / 0.9896 GB, free: 75.79 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.01754/1.978, allocations: 14.5 MB / 1.004 GB, free: 60.94 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01316/1.991, allocations: 9.541 MB / 1.013 GB, free: 51.31 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.991, allocations: 3.938 kB / 1.013 GB, free: 51.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007167/1.998, allocations: 5.15 MB / 1.018 GB, free: 46.07 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006848/2.005, allocations: 1.643 MB / 1.02 GB, free: 44.48 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3382/2.343, allocations: 80.15 MB / 1.098 GB, free: 164.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01116/2.354, allocations: 8.86 MB / 1.107 GB, free: 161 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007493/2.362, allocations: 2.537 MB / 1.109 GB, free: 160.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009114/2.371, allocations: 5.198 MB / 1.114 GB, free: 156.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.493e-06/2.371, allocations: 0 / 1.114 GB, free: 156.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5542/2.925, allocations: 189.4 MB / 1.299 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.19/27.12, allocations: 8.047 kB / 1.299 GB, free: 157.3 MB / 0.5919 GB " [Timeout remaining time 633] (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_2/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_2/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: 38.17622377211228]