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) 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 4.0.0+maint.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_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.001554/0.001554, allocations: 111.4 kB / 17.29 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.001479/0.001479, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 47.53 kB / 300.8 MB, free: 6.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1333, allocations: 49.44 MB / 350.3 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2466/0.38, allocations: 37.58 MB / 387.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02615/0.4062, allocations: 9.877 MB / 397.7 MB, free: 300 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01045/0.4167, allocations: 279.3 kB / 398 MB, free: 240 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02508/0.4418, allocations: 9.574 MB / 407.6 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01738/0.4592, allocations: 3.644 MB / 411.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00859/0.4678, allocations: 2.19 MB / 413.4 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02542/0.4932, allocations: 16.47 MB / 429.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06012/0.5534, allocations: 35.04 MB / 464.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/0.5697, allocations: 8.407 MB / 473.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01691/0.5867, allocations: 9.406 MB / 482.7 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008044/0.5947, allocations: 2.41 MB / 485.1 MB, free: 15.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/0.606, allocations: 2.812 MB / 487.9 MB, free: 12.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008967/0.615, allocations: 4.809 MB / 492.8 MB, free: 7.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01945/0.6345, allocations: 9.199 MB / 0.4902 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03471/0.6692, allocations: 28.01 MB / 0.5175 GB, free: 2.141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6692, allocations: 3.984 kB / 0.5175 GB, free: 2.137 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6693, allocations: 4 kB / 0.5176 GB, free: 2.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001035/0.6703, allocations: 4 kB / 0.5176 GB, free: 2.129 MB / 430.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.4514/1.122, allocations: 18.75 MB / 0.5359 GB, free: 115.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.75e-05/1.122, allocations: 9.438 kB / 0.5359 GB, free: 115.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04588/1.168, allocations: 8.249 MB / 0.5439 GB, free: 112.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02038/1.188, allocations: 9.872 MB / 0.5536 GB, free: 103.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009489/1.189, allocations: 1.063 MB / 0.5546 GB, free: 102.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005747/1.195, allocations: 1.405 MB / 0.556 GB, free: 101 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05373/1.249, allocations: 22.76 MB / 0.5782 GB, free: 78.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006282/1.249, allocations: 19.81 kB / 0.5782 GB, free: 78.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004669/1.254, allocations: 0.581 MB / 0.5788 GB, free: 77.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006153/1.255, allocations: 0.7793 MB / 0.5796 GB, free: 76.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04051/1.295, allocations: 21.02 MB / 0.6001 GB, free: 55.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1202/1.415, allocations: 72.91 MB / 0.6713 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2872/1.703, allocations: 42.44 MB / 0.7127 GB, free: 130.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01287/1.715, allocations: 5.25 MB / 0.7179 GB, free: 130.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03063/1.746, allocations: 12.81 MB / 0.7304 GB, free: 124.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.532e-05/1.746, allocations: 96.38 kB / 0.7305 GB, free: 124.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 7.674e-06/1.746, allocations: 0 / 0.7305 GB, free: 124.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.06177/1.808, allocations: 26.68 MB / 0.7565 GB, free: 112.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/1.808, allocations: 133.2 kB / 0.7566 GB, free: 112.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009407/1.818, allocations: 5.753 MB / 0.7623 GB, free: 110.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001264/1.819, allocations: 109.7 kB / 0.7624 GB, free: 110 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003286/1.822, allocations: 6.14 MB / 0.7684 GB, free: 104.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002095/1.824, allocations: 1.758 MB / 0.7701 GB, free: 102.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/1.826, allocations: 1.465 MB / 0.7715 GB, free: 101.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.375e-05/1.827, allocations: 301.1 kB / 0.7718 GB, free: 100.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004696/1.831, allocations: 3.669 MB / 0.7754 GB, free: 97.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006293/1.838, allocations: 6.518 MB / 0.7817 GB, free: 89.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.849, allocations: 10.84 MB / 0.7923 GB, free: 77.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.613e-05/1.85, allocations: 28 kB / 0.7924 GB, free: 77.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02098/1.871, allocations: 12.17 MB / 0.8042 GB, free: 64.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.833e-05/1.871, allocations: 44 kB / 0.8043 GB, free: 64.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001573/1.871, allocations: 92 kB / 0.8044 GB, free: 64.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004028/1.875, allocations: 1.599 MB / 0.8059 GB, free: 63.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006301/1.881, allocations: 1.669 MB / 0.8076 GB, free: 61.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/1.901, allocations: 19.63 MB / 0.8267 GB, free: 41.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007657/1.909, allocations: 427.4 kB / 0.8271 GB, free: 40.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001859/1.911, allocations: 368.5 kB / 0.8275 GB, free: 40.35 MB / 478.1 MB 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 (868): * Single equations (assignments): 858 * 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,53.5%), (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.01107/1.922, allocations: 5.193 MB / 0.8326 GB, free: 35.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/1.923, allocations: 0.5942 MB / 0.8331 GB, free: 34.54 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/1.938, allocations: 9.449 MB / 0.8424 GB, free: 25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008467/1.947, allocations: 5.947 MB / 0.8482 GB, free: 19.02 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.129e-05/1.947, allocations: 18.91 kB / 0.8482 GB, free: 19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.851e-05/1.947, allocations: 27.91 kB / 0.8482 GB, free: 18.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03905/1.986, allocations: 21.15 MB / 0.8689 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-05/1.986, allocations: 4 kB / 0.8689 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004005/1.99, allocations: 0.8703 MB / 0.8697 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004829/1.995, allocations: 1.658 MB / 0.8713 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/1.996, allocations: 124 kB / 0.8715 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2834/2.279, allocations: 23.18 MB / 0.8941 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/2.279, allocations: 12.22 kB / 0.8941 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02466/2.304, allocations: 13.84 MB / 0.9076 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003913/2.308, allocations: 1.357 MB / 0.9089 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/2.309, allocations: 116.3 kB / 0.9091 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/2.312, allocations: 287.9 kB / 0.9093 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/2.313, allocations: 410.9 kB / 0.9097 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003245/2.314, allocations: 154.4 kB / 0.9099 GB, free: 136.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005988/2.32, allocations: 3.879 MB / 0.9137 GB, free: 135.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/2.32, allocations: 3.812 kB / 0.9137 GB, free: 135.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01371/2.333, allocations: 2.337 MB / 0.9159 GB, free: 135.1 MB / 494.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,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001432/2.335, allocations: 334 kB / 0.9163 GB, free: 134.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.03211/2.367, allocations: 16.13 MB / 0.932 GB, free: 128 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/2.367, allocations: 4 kB / 0.932 GB, free: 128 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008019/2.375, allocations: 5.474 MB / 0.9374 GB, free: 123.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008805/2.384, allocations: 1.638 MB / 0.939 GB, free: 121.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04776/2.432, allocations: 30.49 MB / 0.9687 GB, free: 93.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/2.443, allocations: 8.563 MB / 0.9771 GB, free: 86.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002584/2.445, allocations: 0.5054 MB / 0.9776 GB, free: 86.38 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/2.445, allocations: 3.938 kB / 0.9776 GB, free: 86.38 MB / 494.1 MB Notification: Performance of Templates: time 1.753/4.198, allocations: 0.6676 GB / 1.645 GB, free: 180.7 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (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) 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) Reference file matches