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.001105/0.001105, allocations: 114 kB / 17.28 MB, free: 6.219 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.001367/0.001368, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.516/1.516, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001185/0.001185, allocations: 55.86 kB / 280.2 MB, free: 3.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.122, allocations: 46.62 MB / 326.8 MB, free: 4.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03985/0.1619, allocations: 37.66 MB / 364.5 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02699/0.189, allocations: 9.873 MB / 374.3 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01217/0.2012, allocations: 235.1 kB / 374.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2831/0.4844, allocations: 9.567 MB / 384.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01957/0.504, allocations: 3.689 MB / 387.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009965/0.5139, allocations: 2.236 MB / 390.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02834/0.5423, allocations: 16.61 MB / 406.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06459/0.6069, allocations: 35.38 MB / 442.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01811/0.6251, allocations: 8.492 MB / 450.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0195/0.6446, allocations: 9.5 MB / 460.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01016/0.6548, allocations: 2.422 MB / 462.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01407/0.669, allocations: 2.818 MB / 465.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01032/0.6793, allocations: 4.88 MB / 470.2 MB, free: 324 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02427/0.7036, allocations: 9.274 MB / 479.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04615/0.7498, allocations: 31.93 MB / 0.4994 GB, free: 7.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.7499, allocations: 0 / 0.4994 GB, free: 7.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.7499, allocations: 4 kB / 0.4994 GB, free: 7.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001181/0.7511, allocations: 0 / 0.4994 GB, free: 7.672 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.06655/0.8176, allocations: 18.93 MB / 0.5179 GB, free: 4.762 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.8177, allocations: 8.031 kB / 0.5179 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05092/0.8686, allocations: 9.232 MB / 0.5269 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02169/0.8903, allocations: 9.111 MB / 0.5358 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001124/0.8915, allocations: 1.078 MB / 0.5369 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006884/0.8984, allocations: 1.418 MB / 0.5382 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4525/1.351, allocations: 23.23 MB / 0.5609 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006918/1.352, allocations: 22.73 kB / 0.5609 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006048/1.358, allocations: 0.5878 MB / 0.5615 GB, free: 127.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007964/1.358, allocations: 0.7976 MB / 0.5623 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04373/1.402, allocations: 21.7 MB / 0.5835 GB, free: 115.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1083/1.511, allocations: 74.18 MB / 0.6559 GB, free: 40.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03397/1.545, allocations: 53.58 MB / 0.7083 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00973/1.554, allocations: 5.422 MB / 0.7136 GB, free: 7.156 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2518/1.806, allocations: 15.61 MB / 0.7288 GB, free: 150.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.571e-05/1.806, allocations: 88.59 kB / 0.7289 GB, free: 150.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 7.845e-06/1.806, allocations: 0 / 0.7289 GB, free: 150.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.05518/1.861, allocations: 26.84 MB / 0.7551 GB, free: 138.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/1.862, allocations: 134.7 kB / 0.7552 GB, free: 138.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007842/1.869, allocations: 5.902 MB / 0.761 GB, free: 136.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007274/1.87, allocations: 112.2 kB / 0.7611 GB, free: 136.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003173/1.873, allocations: 6.279 MB / 0.7672 GB, free: 131.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001628/1.875, allocations: 1.76 MB / 0.7689 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/1.877, allocations: 1.531 MB / 0.7704 GB, free: 129.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/1.877, allocations: 304.8 kB / 0.7707 GB, free: 129.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005144/1.882, allocations: 3.723 MB / 0.7744 GB, free: 128.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005692/1.888, allocations: 6.815 MB / 0.781 GB, free: 122.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/1.899, allocations: 11.22 MB / 0.792 GB, free: 114.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.063e-05/1.899, allocations: 28.28 kB / 0.792 GB, free: 114.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.01811/1.917, allocations: 12.48 MB / 0.8042 GB, free: 103.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.968e-05/1.917, allocations: 48.56 kB / 0.8042 GB, free: 103.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001713/1.917, allocations: 104 kB / 0.8043 GB, free: 103 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/1.921, allocations: 1.602 MB / 0.8059 GB, free: 101.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005362/1.927, allocations: 1.747 MB / 0.8076 GB, free: 99.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/1.946, allocations: 19.63 MB / 0.8268 GB, free: 79.33 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006177/1.952, allocations: 439.4 kB / 0.8272 GB, free: 78.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001278/1.954, allocations: 392.1 kB / 0.8276 GB, free: 78.52 MB / 478.1 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 (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.9%), (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.01001/1.964, allocations: 5.263 MB / 0.8327 GB, free: 73.24 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/1.966, allocations: 0.6057 MB / 0.8333 GB, free: 72.63 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/1.982, allocations: 9.456 MB / 0.8425 GB, free: 63.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008429/1.99, allocations: 5.967 MB / 0.8484 GB, free: 57.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.807e-05/1.991, allocations: 20 kB / 0.8484 GB, free: 57.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.055e-05/1.991, allocations: 23.91 kB / 0.8484 GB, free: 57.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03729/2.028, allocations: 21.23 MB / 0.8691 GB, free: 35.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/2.028, allocations: 8.094 kB / 0.8691 GB, free: 35.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003649/2.032, allocations: 0.862 MB / 0.87 GB, free: 34.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004498/2.036, allocations: 1.653 MB / 0.8716 GB, free: 33.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005492/2.037, allocations: 128 kB / 0.8717 GB, free: 33.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2586/2.295, allocations: 23.2 MB / 0.8944 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/2.295, allocations: 13.55 kB / 0.8944 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02698/2.322, allocations: 13.86 MB / 0.9079 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004101/2.327, allocations: 1.367 MB / 0.9093 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/2.328, allocations: 108.5 kB / 0.9094 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003718/2.332, allocations: 286.2 kB / 0.9096 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/2.333, allocations: 412.4 kB / 0.91 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003886/2.334, allocations: 158.8 kB / 0.9102 GB, free: 129.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006339/2.34, allocations: 3.967 MB / 0.9141 GB, free: 127.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/2.34, allocations: 0 / 0.9141 GB, free: 127.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01221/2.352, allocations: 2.376 MB / 0.9164 GB, free: 127.6 MB / 478.1 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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/2.354, allocations: 312.8 kB / 0.9167 GB, free: 127.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0323/2.386, allocations: 16.26 MB / 0.9326 GB, free: 123.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/2.386, allocations: 3.719 kB / 0.9326 GB, free: 123.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00874/2.395, allocations: 5.485 MB / 0.9379 GB, free: 120.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008635/2.403, allocations: 1.653 MB / 0.9395 GB, free: 119.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05089/2.454, allocations: 31.3 MB / 0.9701 GB, free: 93.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01462/2.469, allocations: 8.929 MB / 0.9788 GB, free: 86.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.009511/2.479, allocations: 2.6 MB / 0.9814 GB, free: 85.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002355/2.481, allocations: 466.3 kB / 0.9818 GB, free: 84.65 MB / 478.1 MB Notification: Performance of SimCode: time 7.12e-07/2.481, allocations: 0 / 0.9818 GB, free: 84.65 MB / 478.1 MB Notification: Performance of Templates: time 0.3826/2.864, allocations: 103.2 MB / 1.083 GB, free: 122.6 MB / 478.1 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 -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/jenkins/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","../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