Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001616/0.001616, allocations: 118.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001927/0.001927, allocations: 215.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.414/1.414, allocations: 227.7 MB / 247.9 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 63.89 kB / 359.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.242, allocations: 50.54 MB / 410.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04429/0.2863, allocations: 39.03 MB / 449.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02203/0.3083, allocations: 10.33 MB / 459.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006863/0.3152, allocations: 302.9 kB / 459.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02374/0.3389, allocations: 10.3 MB / 470.2 MB, free: 5.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.3533, allocations: 4.129 MB / 474.3 MB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007629/0.361, allocations: 2.429 MB / 476.8 MB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02433/0.3853, allocations: 16.51 MB / 493.3 MB, free: 14.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03884/0.4241, allocations: 23.68 MB / 0.5048 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01247/0.4366, allocations: 8.521 MB / 0.5132 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01488/0.4515, allocations: 9.5 MB / 0.5224 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006189/0.4577, allocations: 2.414 MB / 0.5248 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008345/0.466, allocations: 2.832 MB / 0.5276 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007365/0.4734, allocations: 4.828 MB / 0.5323 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01476/0.4881, allocations: 9.206 MB / 0.5413 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4297/0.9178, allocations: 32.24 MB / 0.5727 GB, free: 41.21 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.9178, allocations: 0 / 0.5727 GB, free: 41.21 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.9178, allocations: 2.906 kB / 0.5727 GB, free: 41.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009122/0.9188, allocations: 0 / 0.5727 GB, free: 41.21 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.05742/0.9762, allocations: 19.06 MB / 0.5914 GB, free: 32.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.9762, allocations: 10.41 kB / 0.5914 GB, free: 32.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04691/1.023, allocations: 8.414 MB / 0.5996 GB, free: 28.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0221/1.045, allocations: 10.27 MB / 0.6096 GB, free: 21.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008397/1.046, allocations: 1.058 MB / 0.6107 GB, free: 20.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006042/1.052, allocations: 1.403 MB / 0.612 GB, free: 19.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05246/1.105, allocations: 22.75 MB / 0.6342 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005097/1.105, allocations: 23.47 kB / 0.6343 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005024/1.11, allocations: 0.5802 MB / 0.6348 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009394/1.111, allocations: 0.7793 MB / 0.6356 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04702/1.158, allocations: 21.01 MB / 0.6561 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1345/1.293, allocations: 72.85 MB / 0.7273 GB, free: 12.88 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2565/1.549, allocations: 42.08 MB / 0.7683 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009238/1.558, allocations: 4.739 MB / 0.773 GB, free: 188.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02243/1.581, allocations: 12.98 MB / 0.7856 GB, free: 184.8 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/1.581, allocations: 85.67 kB / 0.7857 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.384e-06/1.581, allocations: 4.984 kB / 0.7857 GB, free: 184.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05705/1.638, allocations: 26.55 MB / 0.8117 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/1.638, allocations: 137 kB / 0.8118 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00995/1.648, allocations: 5.794 MB / 0.8174 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009364/1.649, allocations: 111 kB / 0.8176 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003389/1.652, allocations: 6.375 MB / 0.8238 GB, free: 163.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001988/1.654, allocations: 1.814 MB / 0.8256 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003854/1.658, allocations: 1.467 MB / 0.827 GB, free: 160.8 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.311e-05/1.658, allocations: 305.1 kB / 0.8273 GB, free: 160.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004962/1.663, allocations: 3.627 MB / 0.8308 GB, free: 157.4 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006303/1.669, allocations: 6.477 MB / 0.8371 GB, free: 150.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/1.681, allocations: 10.76 MB / 0.8477 GB, free: 139 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.95e-05/1.681, allocations: 24 kB / 0.8477 GB, free: 139 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02208/1.703, allocations: 12.06 MB / 0.8595 GB, free: 126.9 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.703, allocations: 48 kB / 0.8595 GB, free: 126.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/1.704, allocations: 92 kB / 0.8596 GB, free: 126.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004195/1.708, allocations: 1.595 MB / 0.8611 GB, free: 125.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006245/1.714, allocations: 1.669 MB / 0.8628 GB, free: 123.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/1.735, allocations: 19.63 MB / 0.8819 GB, free: 103.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007161/1.742, allocations: 431.6 kB / 0.8824 GB, free: 102.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/1.744, allocations: 372 kB / 0.8827 GB, free: 102.4 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.009278/1.753, allocations: 5.196 MB / 0.8878 GB, free: 97.14 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001793/1.755, allocations: 0.621 MB / 0.8884 GB, free: 96.52 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/1.771, allocations: 9.315 MB / 0.8975 GB, free: 87.11 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009344/1.781, allocations: 5.834 MB / 0.9032 GB, free: 81.24 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.507e-05/1.781, allocations: 20 kB / 0.9032 GB, free: 81.22 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001122/1.781, allocations: 23.91 kB / 0.9032 GB, free: 81.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04236/1.823, allocations: 20.96 MB / 0.9237 GB, free: 60.14 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.253e-05/1.823, allocations: 8 kB / 0.9237 GB, free: 60.13 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003956/1.827, allocations: 0.8626 MB / 0.9246 GB, free: 59.27 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004471/1.832, allocations: 1.623 MB / 0.9261 GB, free: 57.62 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009033/1.833, allocations: 132 kB / 0.9263 GB, free: 57.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02237/1.855, allocations: 23.21 MB / 0.9489 GB, free: 33.34 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/1.855, allocations: 11.94 kB / 0.9489 GB, free: 33.32 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02128/1.876, allocations: 13.69 MB / 0.9623 GB, free: 19.28 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004068/1.88, allocations: 1.387 MB / 0.9637 GB, free: 17.87 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001596/1.882, allocations: 104 kB / 0.9638 GB, free: 17.77 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003785/1.886, allocations: 287.7 kB / 0.964 GB, free: 17.48 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000983/1.887, allocations: 408.3 kB / 0.9644 GB, free: 17.09 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003377/1.887, allocations: 159.9 kB / 0.9646 GB, free: 16.93 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005977/1.893, allocations: 3.908 MB / 0.9684 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.1e-07/1.893, allocations: 0 / 0.9684 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009873/1.903, allocations: 2.332 MB / 0.9707 GB, free: 10.72 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.001184/1.904, allocations: 314.8 kB / 0.971 GB, free: 10.41 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.918, allocations: 9.509 MB / 0.9803 GB, free: 0.8008 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/1.918, allocations: 4.125 kB / 0.9803 GB, free: 0.7969 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.2238/2.142, allocations: 5.127 MB / 0.9853 GB, free: 196.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008145/2.15, allocations: 1.642 MB / 0.9869 GB, free: 196.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03896/2.189, allocations: 25.04 MB / 1.011 GB, free: 189 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01097/2.2, allocations: 8.861 MB / 1.02 GB, free: 186.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006453/2.207, allocations: 2.539 MB / 1.022 GB, free: 185 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/2.208, allocations: 465.6 kB / 1.023 GB, free: 184.6 MB / 0.5763 GB Notification: Performance of SimCode: time 9.92e-07/2.208, allocations: 4 kB / 1.023 GB, free: 184.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.1468/2.355, allocations: 98.33 MB / 1.119 GB, free: 91.19 MB / 0.5763 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches