Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 107.3 kB / 18.35 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 192 kB / 19.29 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 47.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1083, allocations: 46.62 MB / 328.8 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03828/0.1466, allocations: 38.35 MB / 367.1 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02221/0.1689, allocations: 10.03 MB / 377.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007057/0.176, allocations: 247.1 kB / 377.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2388/0.4148, allocations: 10.17 MB / 387.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01604/0.4309, allocations: 4.085 MB / 391.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008326/0.4392, allocations: 2.413 MB / 394 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02389/0.4631, allocations: 16.54 MB / 410.6 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04801/0.5112, allocations: 31.18 MB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01889/0.5301, allocations: 8.537 MB / 450.3 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01846/0.5486, allocations: 9.418 MB / 459.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007895/0.5566, allocations: 2.43 MB / 462.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01175/0.5683, allocations: 2.818 MB / 465 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009286/0.5777, allocations: 4.869 MB / 469.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02262/0.6003, allocations: 9.278 MB / 479.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04241/0.6427, allocations: 32.12 MB / 0.4992 GB, free: 8.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.6428, allocations: 3.984 kB / 0.4992 GB, free: 8.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6428, allocations: 0 / 0.4992 GB, free: 8.168 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001072/0.6439, allocations: 0 / 0.4992 GB, free: 8.168 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.06528/0.7092, allocations: 18.85 MB / 0.5177 GB, free: 5.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.7093, allocations: 12.03 kB / 0.5177 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05187/0.7611, allocations: 9.282 MB / 0.5267 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/0.7805, allocations: 9.194 MB / 0.5357 GB, free: 2.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001117/0.7816, allocations: 1.076 MB / 0.5368 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006475/0.7881, allocations: 1.41 MB / 0.5381 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4083/1.196, allocations: 23.2 MB / 0.5608 GB, free: 127.2 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006826/1.197, allocations: 19.97 kB / 0.5608 GB, free: 127.2 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004579/1.202, allocations: 0.5802 MB / 0.5614 GB, free: 126.7 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007796/1.203, allocations: 0.8087 MB / 0.5622 GB, free: 126.6 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04042/1.243, allocations: 21.69 MB / 0.5834 GB, free: 115.3 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1169/1.36, allocations: 73.25 MB / 0.6549 GB, free: 41.35 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03625/1.396, allocations: 53.55 MB / 0.7072 GB, free: 13.52 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009672/1.406, allocations: 5.386 MB / 0.7124 GB, free: 8.113 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.208/1.614, allocations: 15.42 MB / 0.7275 GB, free: 149.5 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/1.614, allocations: 87.88 kB / 0.7276 GB, free: 149.4 MB / 478.2 MB Notification: Performance of pre-optimization done (n=498): time 6.613e-06/1.614, allocations: 0 / 0.7276 GB, free: 149.4 MB / 478.2 MB Notification: Performance of matching and sorting (n=506): time 0.05443/1.669, allocations: 26.96 MB / 0.7539 GB, free: 138.6 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/1.669, allocations: 131.8 kB / 0.754 GB, free: 138.5 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007341/1.676, allocations: 5.903 MB / 0.7598 GB, free: 136.4 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0007467/1.677, allocations: 105 kB / 0.7599 GB, free: 136.3 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.002547/1.679, allocations: 6.296 MB / 0.7661 GB, free: 131.6 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/1.681, allocations: 1.736 MB / 0.7678 GB, free: 130.2 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/1.683, allocations: 1.521 MB / 0.7692 GB, free: 129.5 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 4.022e-05/1.683, allocations: 306.3 kB / 0.7695 GB, free: 129.2 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005178/1.688, allocations: 3.685 MB / 0.7731 GB, free: 127.8 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007346/1.695, allocations: 6.77 MB / 0.7797 GB, free: 122.4 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/1.707, allocations: 11.14 MB / 0.7906 GB, free: 114.6 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.987e-05/1.707, allocations: 34.22 kB / 0.7907 GB, free: 114.6 MB / 478.2 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02092/1.728, allocations: 12.4 MB / 0.8028 GB, free: 104 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/1.728, allocations: 48 kB / 0.8028 GB, free: 104 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/1.729, allocations: 100 kB / 0.8029 GB, free: 103.9 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004208/1.733, allocations: 1.596 MB / 0.8045 GB, free: 102.3 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006556/1.739, allocations: 1.747 MB / 0.8062 GB, free: 100.5 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/1.76, allocations: 19.63 MB / 0.8253 GB, free: 80.23 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00618/1.766, allocations: 439.5 kB / 0.8258 GB, free: 79.8 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/1.768, allocations: 388 kB / 0.8261 GB, free: 79.42 MB / 478.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * 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 (904): * Single equations (assignments): 897 * 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,54.2%), (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.009806/1.778, allocations: 5.259 MB / 0.8313 GB, free: 74.15 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002443/1.78, allocations: 0.6093 MB / 0.8319 GB, free: 73.54 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/1.796, allocations: 9.368 MB / 0.841 GB, free: 64.1 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008406/1.804, allocations: 5.872 MB / 0.8467 GB, free: 58.19 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.337e-05/1.804, allocations: 20 kB / 0.8468 GB, free: 58.17 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.046e-05/1.805, allocations: 31.88 kB / 0.8468 GB, free: 58.14 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04282/1.847, allocations: 21.08 MB / 0.8674 GB, free: 36.96 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/1.847, allocations: 4 kB / 0.8674 GB, free: 36.95 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003796/1.851, allocations: 0.862 MB / 0.8682 GB, free: 36.09 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004313/1.856, allocations: 1.639 MB / 0.8698 GB, free: 34.43 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007855/1.856, allocations: 124 kB / 0.8699 GB, free: 34.31 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2458/2.102, allocations: 23.2 MB / 0.8926 GB, free: 133.6 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/2.102, allocations: 12.69 kB / 0.8926 GB, free: 133.6 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0233/2.126, allocations: 13.73 MB / 0.906 GB, free: 130.8 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004053/2.13, allocations: 1.36 MB / 0.9073 GB, free: 130.3 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/2.131, allocations: 109.4 kB / 0.9074 GB, free: 130.2 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/2.135, allocations: 284 kB / 0.9077 GB, free: 130.2 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/2.136, allocations: 411 kB / 0.9081 GB, free: 130.1 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003915/2.136, allocations: 153.4 kB / 0.9083 GB, free: 130.1 MB / 478.2 MB Notification: Performance of sorting global known variables: time 0.006271/2.143, allocations: 3.974 MB / 0.9121 GB, free: 128.6 MB / 478.2 MB Notification: Performance of sort global known variables: time 3.5e-07/2.143, allocations: 0 / 0.9121 GB, free: 128.6 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.008931/2.151, allocations: 2.367 MB / 0.9144 GB, free: 128.4 MB / 478.2 MB 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.001013/2.153, allocations: 313.5 kB / 0.9147 GB, free: 128.2 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.01429/2.167, allocations: 10.02 MB / 0.9245 GB, free: 124.1 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/2.167, allocations: 0 / 0.9245 GB, free: 124.1 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.008767/2.176, allocations: 5.465 MB / 0.9299 GB, free: 121.5 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007116/2.183, allocations: 1.642 MB / 0.9315 GB, free: 120.9 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04661/2.229, allocations: 24.93 MB / 0.9558 GB, free: 107.7 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01583/2.245, allocations: 8.929 MB / 0.9645 GB, free: 100.8 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 0.009394/2.255, allocations: 2.599 MB / 0.9671 GB, free: 99.07 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002431/2.257, allocations: 466.4 kB / 0.9675 GB, free: 98.63 MB / 478.2 MB Notification: Performance of SimCode: time 1.382e-06/2.257, allocations: 0 / 0.9675 GB, free: 98.63 MB / 478.2 MB Notification: Performance of Templates: time 0.146/2.403, allocations: 94.76 MB / 1.06 GB, free: 5.328 MB / 478.2 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches