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.001016/0.001016, allocations: 100.4 kB / 17.58 MB, free: 5.418 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.001059/0.00106, allocations: 192 kB / 18.51 MB, free: 4.508 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.406/1.406, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001402/0.001402, allocations: 55.92 kB / 280.7 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.114, allocations: 46.62 MB / 327.3 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03994/0.154, allocations: 38.34 MB / 365.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02582/0.1799, allocations: 10.02 MB / 375.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009919/0.1898, allocations: 247.1 kB / 375.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2482/0.4382, allocations: 10.17 MB / 386.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01648/0.4547, allocations: 4.087 MB / 390.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008304/0.463, allocations: 2.422 MB / 392.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0254/0.4884, allocations: 16.41 MB / 409 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05623/0.5447, allocations: 31.38 MB / 440.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01814/0.5629, allocations: 8.519 MB / 448.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01978/0.5827, allocations: 9.459 MB / 458.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008455/0.5912, allocations: 2.426 MB / 460.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/0.6031, allocations: 2.832 MB / 463.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009397/0.6125, allocations: 4.87 MB / 468.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02254/0.6351, allocations: 9.285 MB / 477.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0395/0.6746, allocations: 31.95 MB / 0.4978 GB, free: 8.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6747, allocations: 0 / 0.4978 GB, free: 8.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6747, allocations: 0 / 0.4978 GB, free: 8.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009906/0.6757, allocations: 4 kB / 0.4978 GB, free: 8.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.05944/0.7351, allocations: 18.91 MB / 0.5162 GB, free: 5.777 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.7352, allocations: 11.97 kB / 0.5162 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05059/0.7858, allocations: 9.238 MB / 0.5253 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01972/0.8055, allocations: 9.157 MB / 0.5342 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001181/0.8067, allocations: 1.078 MB / 0.5353 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006045/0.8128, allocations: 1.423 MB / 0.5366 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3852/1.198, allocations: 23.2 MB / 0.5593 GB, free: 127.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007017/1.199, allocations: 21.73 kB / 0.5593 GB, free: 127.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004448/1.203, allocations: 0.584 MB / 0.5599 GB, free: 126.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007108/1.204, allocations: 0.8029 MB / 0.5607 GB, free: 126.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04011/1.244, allocations: 21.68 MB / 0.5819 GB, free: 115.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1069/1.351, allocations: 74.17 MB / 0.6543 GB, free: 40.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03159/1.383, allocations: 53.55 MB / 0.7066 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008825/1.392, allocations: 5.393 MB / 0.7118 GB, free: 7.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2119/1.603, allocations: 15.47 MB / 0.7269 GB, free: 149.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.618e-05/1.604, allocations: 90.97 kB / 0.727 GB, free: 149.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=498): time 7.704e-06/1.604, allocations: 0 / 0.727 GB, free: 149.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=506): time 0.0571/1.661, allocations: 26.96 MB / 0.7534 GB, free: 138.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/1.661, allocations: 131.4 kB / 0.7535 GB, free: 138.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007553/1.668, allocations: 5.901 MB / 0.7592 GB, free: 136.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007307/1.669, allocations: 105.2 kB / 0.7593 GB, free: 136.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002745/1.672, allocations: 6.295 MB / 0.7655 GB, free: 131.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001424/1.673, allocations: 1.736 MB / 0.7672 GB, free: 130.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001892/1.675, allocations: 1.531 MB / 0.7687 GB, free: 129.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.901e-05/1.675, allocations: 303.8 kB / 0.769 GB, free: 129.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004806/1.68, allocations: 3.681 MB / 0.7726 GB, free: 127.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005826/1.686, allocations: 6.774 MB / 0.7792 GB, free: 122.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/1.697, allocations: 11.14 MB / 0.7901 GB, free: 114.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001277/1.698, allocations: 32.88 kB / 0.7901 GB, free: 114.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01926/1.717, allocations: 12.39 MB / 0.8022 GB, free: 103.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/1.717, allocations: 51.94 kB / 0.8022 GB, free: 103.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001542/1.717, allocations: 105 kB / 0.8023 GB, free: 103.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003853/1.721, allocations: 1.614 MB / 0.8039 GB, free: 101.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006006/1.727, allocations: 1.747 MB / 0.8056 GB, free: 100.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/1.746, allocations: 19.64 MB / 0.8248 GB, free: 79.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00766/1.753, allocations: 439.4 kB / 0.8252 GB, free: 79.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/1.755, allocations: 392 kB / 0.8256 GB, free: 79.01 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 (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.008717/1.763, allocations: 5.256 MB / 0.8307 GB, free: 73.74 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001465/1.765, allocations: 0.6076 MB / 0.8313 GB, free: 73.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.778, allocations: 9.381 MB / 0.8405 GB, free: 63.65 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007398/1.785, allocations: 5.868 MB / 0.8462 GB, free: 57.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-05/1.785, allocations: 20 kB / 0.8462 GB, free: 57.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-05/1.786, allocations: 27.91 kB / 0.8463 GB, free: 57.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03506/1.821, allocations: 21.1 MB / 0.8669 GB, free: 36.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.821, allocations: 11.98 kB / 0.8669 GB, free: 36.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003254/1.824, allocations: 0.8704 MB / 0.8677 GB, free: 35.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004229/1.828, allocations: 1.643 MB / 0.8693 GB, free: 33.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004383/1.829, allocations: 124 kB / 0.8695 GB, free: 33.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2628/2.091, allocations: 23.22 MB / 0.8921 GB, free: 133.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/2.092, allocations: 10.72 kB / 0.8921 GB, free: 133.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02424/2.116, allocations: 13.72 MB / 0.9055 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00435/2.12, allocations: 1.359 MB / 0.9069 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001377/2.122, allocations: 114 kB / 0.907 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003465/2.125, allocations: 284.6 kB / 0.9072 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/2.126, allocations: 401.8 kB / 0.9076 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004048/2.127, allocations: 155.8 kB / 0.9078 GB, free: 130 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007189/2.134, allocations: 3.973 MB / 0.9117 GB, free: 128.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/2.134, allocations: 0 / 0.9117 GB, free: 128.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01035/2.144, allocations: 2.376 MB / 0.914 GB, free: 128.4 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 (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.001098/2.145, allocations: 316 kB / 0.9143 GB, free: 128.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03219/2.178, allocations: 16 MB / 0.9299 GB, free: 123.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/2.178, allocations: 2.938 kB / 0.9299 GB, free: 123.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01011/2.188, allocations: 5.459 MB / 0.9352 GB, free: 121.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008282/2.196, allocations: 1.649 MB / 0.9368 GB, free: 120.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04161/2.238, allocations: 25.24 MB / 0.9615 GB, free: 101.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009843/2.248, allocations: 8.931 MB / 0.9702 GB, free: 94.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007496/2.255, allocations: 2.589 MB / 0.9727 GB, free: 92.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/2.257, allocations: 468.8 kB / 0.9732 GB, free: 92.07 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/2.257, allocations: 4 kB / 0.9732 GB, free: 92.07 MB / 478.1 MB Notification: Performance of Templates: time 0.343/2.6, allocations: 102.7 MB / 1.074 GB, free: 126 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","/var/lib/jenkins/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