Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_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=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 51.92 kB / 371.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2568, allocations: 52.18 MB / 423.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04096/0.2978, allocations: 32.86 MB / 456.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02323/0.321, allocations: 9.748 MB / 466.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008661/0.3297, allocations: 354.1 kB / 466.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02495/0.3546, allocations: 9.584 MB / 476.4 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01459/0.3692, allocations: 4.126 MB / 480.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007595/0.3768, allocations: 2.362 MB / 482.9 MB, free: 3.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02276/0.3996, allocations: 16.51 MB / 499.4 MB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03879/0.4384, allocations: 20.3 MB / 0.5075 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01522/0.4536, allocations: 8.712 MB / 0.516 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01968/0.4733, allocations: 9.027 MB / 0.5248 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008427/0.4817, allocations: 2.41 MB / 0.5272 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01268/0.4944, allocations: 2.8 MB / 0.5299 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01092/0.5053, allocations: 4.812 MB / 0.5346 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4613/0.9666, allocations: 7.155 MB / 0.5416 GB, free: 37.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03068/0.9973, allocations: 32.33 MB / 0.5732 GB, free: 30.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.9973, allocations: 0 / 0.5732 GB, free: 30.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.9973, allocations: 2.156 kB / 0.5732 GB, free: 30.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009144/0.9982, allocations: 0 / 0.5732 GB, free: 30.14 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.06505/1.063, allocations: 18.93 MB / 0.5917 GB, free: 18.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.063, allocations: 10.84 kB / 0.5917 GB, free: 18.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04554/1.109, allocations: 8.365 MB / 0.5998 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/1.13, allocations: 10.29 MB / 0.6099 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008647/1.131, allocations: 1.062 MB / 0.6109 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00648/1.137, allocations: 1.401 MB / 0.6123 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06555/1.203, allocations: 23.05 MB / 0.6348 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008293/1.204, allocations: 23.89 kB / 0.6348 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006314/1.21, allocations: 0.5751 MB / 0.6354 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009848/1.211, allocations: 0.7829 MB / 0.6362 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05379/1.265, allocations: 20.93 MB / 0.6566 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1428/1.408, allocations: 62.94 MB / 0.7181 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02677/1.434, allocations: 13.77 MB / 0.7315 GB, free: 11.14 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00944/1.444, allocations: 4.701 MB / 0.7361 GB, free: 6.434 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02817/1.472, allocations: 11.32 MB / 0.7472 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.424e-05/1.472, allocations: 90.23 kB / 0.7472 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 9.337e-06/1.472, allocations: 0 / 0.7472 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.3154/1.787, allocations: 25.74 MB / 0.7724 GB, free: 201 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/1.787, allocations: 131.8 kB / 0.7725 GB, free: 200.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008536/1.796, allocations: 5.487 MB / 0.7779 GB, free: 200 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009861/1.797, allocations: 108.7 kB / 0.778 GB, free: 199.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003049/1.8, allocations: 6.369 MB / 0.7842 GB, free: 195.1 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/1.802, allocations: 1.817 MB / 0.786 GB, free: 193.7 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002233/1.804, allocations: 1.468 MB / 0.7874 GB, free: 193 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.827e-05/1.804, allocations: 301.1 kB / 0.7877 GB, free: 192.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005345/1.809, allocations: 3.633 MB / 0.7912 GB, free: 191.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008228/1.818, allocations: 6.528 MB / 0.7976 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/1.831, allocations: 10.77 MB / 0.8081 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/1.831, allocations: 25.41 kB / 0.8081 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02062/1.851, allocations: 11.95 MB / 0.8198 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.091e-05/1.851, allocations: 49.89 kB / 0.8198 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/1.852, allocations: 92 kB / 0.8199 GB, free: 169 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004013/1.856, allocations: 1.585 MB / 0.8215 GB, free: 167.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006196/1.862, allocations: 1.662 MB / 0.8231 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/1.882, allocations: 18.72 MB / 0.8414 GB, free: 149 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006631/1.888, allocations: 428.9 kB / 0.8418 GB, free: 148.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/1.89, allocations: 367.2 kB / 0.8421 GB, free: 148.3 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.009772/1.9, allocations: 5.186 MB / 0.8472 GB, free: 143.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/1.901, allocations: 0.5871 MB / 0.8478 GB, free: 143.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.915, allocations: 9.129 MB / 0.8567 GB, free: 134.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008122/1.923, allocations: 5.834 MB / 0.8624 GB, free: 128.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.064e-05/1.924, allocations: 20 kB / 0.8624 GB, free: 128.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.611e-05/1.924, allocations: 27.84 kB / 0.8624 GB, free: 128.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03748/1.961, allocations: 17.9 MB / 0.8799 GB, free: 110.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/1.961, allocations: 8 kB / 0.8799 GB, free: 110.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003537/1.965, allocations: 0.8583 MB / 0.8808 GB, free: 109.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004396/1.969, allocations: 1.644 MB / 0.8824 GB, free: 108.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009031/1.97, allocations: 124 kB / 0.8825 GB, free: 108.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02124/1.991, allocations: 22 MB / 0.904 GB, free: 85.45 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.991, allocations: 8 kB / 0.904 GB, free: 85.44 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/2.012, allocations: 13.49 MB / 0.9172 GB, free: 71.62 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004736/2.017, allocations: 1.293 MB / 0.9184 GB, free: 70.32 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001761/2.018, allocations: 108 kB / 0.9185 GB, free: 70.22 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0041/2.022, allocations: 283.7 kB / 0.9188 GB, free: 69.94 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001153/2.024, allocations: 432.2 kB / 0.9192 GB, free: 69.52 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004243/2.024, allocations: 155 kB / 0.9194 GB, free: 69.37 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006738/2.031, allocations: 3.573 MB / 0.9228 GB, free: 65.82 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.91e-07/2.031, allocations: 0 / 0.9228 GB, free: 65.82 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01132/2.042, allocations: 2.328 MB / 0.9251 GB, free: 63.49 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,13,100.0%), (1,5,100.0%), (1,8,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.001476/2.044, allocations: 326 kB / 0.9254 GB, free: 63.17 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01485/2.058, allocations: 9.432 MB / 0.9346 GB, free: 53.66 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/2.058, allocations: 9.938 kB / 0.9347 GB, free: 53.65 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00814/2.067, allocations: 5.126 MB / 0.9397 GB, free: 48.44 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00836/2.075, allocations: 1.431 MB / 0.9411 GB, free: 47.04 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04932/2.124, allocations: 24.73 MB / 0.9652 GB, free: 22.18 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01843/2.143, allocations: 8.204 MB / 0.9732 GB, free: 13.93 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00278/2.145, allocations: 0.4954 MB / 0.9737 GB, free: 13.43 MB / 0.5763 GB Notification: Performance of SimCode: time 1.823e-06/2.145, allocations: 0 / 0.9737 GB, free: 13.43 MB / 0.5763 GB Notification: Performance of Templates: time 1.916/4.062, allocations: 0.6706 GB / 1.644 GB, free: 177.7 MB / 0.5919 GB " [Timeout remaining time 656] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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] Reference file matches [Calling sys.exit(0), Time elapsed: 26.392785283736885]