Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001257, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 63.36 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08444/0.08558, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1833/0.2689, allocations: 38.92 MB / 397.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.2908, allocations: 10.32 MB / 408.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00787/0.2987, allocations: 298.2 kB / 408.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02277/0.3215, allocations: 10.2 MB / 418.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.3353, allocations: 4.023 MB / 422.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007503/0.3428, allocations: 2.433 MB / 425.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02072/0.3635, allocations: 16.5 MB / 441.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04731/0.4109, allocations: 31.22 MB / 472.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01317/0.4241, allocations: 8.474 MB / 481.3 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01449/0.4386, allocations: 9.5 MB / 490.8 MB, free: 7.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006154/0.4448, allocations: 2.418 MB / 493.2 MB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008126/0.4529, allocations: 2.824 MB / 496.1 MB, free: 1.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006925/0.4599, allocations: 4.809 MB / 0.4891 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01513/0.4751, allocations: 9.206 MB / 0.4981 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03671/0.5118, allocations: 32.16 MB / 0.5295 GB, free: 3.602 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.5118, allocations: 0 / 0.5295 GB, free: 3.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5119, allocations: 0 / 0.5295 GB, free: 3.602 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00102/0.5129, allocations: 0 / 0.5295 GB, free: 3.602 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.4123/0.9252, allocations: 18.71 MB / 0.5478 GB, free: 88.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.9252, allocations: 8.875 kB / 0.5478 GB, free: 88.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04721/0.9724, allocations: 8.34 MB / 0.556 GB, free: 85.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0217/0.9942, allocations: 10.23 MB / 0.5659 GB, free: 77.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008663/0.9951, allocations: 1.067 MB / 0.567 GB, free: 76.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005444/1.001, allocations: 1.392 MB / 0.5683 GB, free: 74.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05479/1.055, allocations: 22.74 MB / 0.5906 GB, free: 51.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008801/1.056, allocations: 23.56 kB / 0.5906 GB, free: 51.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005006/1.061, allocations: 0.5762 MB / 0.5911 GB, free: 51.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006995/1.062, allocations: 0.7793 MB / 0.5919 GB, free: 50.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04094/1.103, allocations: 21.01 MB / 0.6124 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1305/1.233, allocations: 72.66 MB / 0.6834 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0345/1.268, allocations: 42.71 MB / 0.7251 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2091/1.477, allocations: 5.226 MB / 0.7302 GB, free: 203.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02771/1.505, allocations: 12.96 MB / 0.7429 GB, free: 200.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/1.505, allocations: 84.73 kB / 0.7429 GB, free: 200.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 6.142e-06/1.505, allocations: 3.938 kB / 0.7429 GB, free: 200.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.05156/1.557, allocations: 26.29 MB / 0.7686 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/1.557, allocations: 128.2 kB / 0.7687 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007325/1.564, allocations: 5.794 MB / 0.7744 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001031/1.565, allocations: 105.4 kB / 0.7745 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002678/1.568, allocations: 6.171 MB / 0.7805 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001806/1.57, allocations: 1.728 MB / 0.7822 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002031/1.572, allocations: 1.461 MB / 0.7836 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.153e-05/1.572, allocations: 301.1 kB / 0.7839 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004615/1.576, allocations: 3.631 MB / 0.7875 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005665/1.582, allocations: 6.473 MB / 0.7938 GB, free: 170 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.593, allocations: 10.77 MB / 0.8043 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.57e-05/1.593, allocations: 24 kB / 0.8043 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01818/1.611, allocations: 12.09 MB / 0.8161 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/1.611, allocations: 44 kB / 0.8162 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/1.611, allocations: 97.47 kB / 0.8163 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003823/1.615, allocations: 1.591 MB / 0.8178 GB, free: 144 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00573/1.621, allocations: 1.665 MB / 0.8195 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/1.639, allocations: 19.62 MB / 0.8386 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006365/1.646, allocations: 431.3 kB / 0.839 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/1.647, allocations: 364 kB / 0.8394 GB, free: 121.3 MB / 0.5294 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.008937/1.656, allocations: 5.194 MB / 0.8444 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002024/1.658, allocations: 0.5981 MB / 0.845 GB, free: 115.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01874/1.677, allocations: 9.368 MB / 0.8542 GB, free: 106 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009346/1.687, allocations: 5.876 MB / 0.8599 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.166e-05/1.687, allocations: 20 kB / 0.8599 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/1.687, allocations: 23.91 kB / 0.86 GB, free: 100 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04071/1.727, allocations: 21.01 MB / 0.8805 GB, free: 78.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/1.728, allocations: 8 kB / 0.8805 GB, free: 78.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003954/1.732, allocations: 0.8659 MB / 0.8813 GB, free: 78.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004463/1.736, allocations: 1.635 MB / 0.8829 GB, free: 76.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009275/1.737, allocations: 128 kB / 0.883 GB, free: 76.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/1.759, allocations: 23.19 MB / 0.9057 GB, free: 52.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.759, allocations: 15.88 kB / 0.9057 GB, free: 52.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02198/1.781, allocations: 13.72 MB / 0.9191 GB, free: 38.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004809/1.786, allocations: 1.357 MB / 0.9204 GB, free: 36.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002351/1.788, allocations: 108 kB / 0.9205 GB, free: 36.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004306/1.793, allocations: 283.7 kB / 0.9208 GB, free: 36.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001453/1.794, allocations: 416.2 kB / 0.9212 GB, free: 35.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008044/1.795, allocations: 155.9 kB / 0.9213 GB, free: 35.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006933/1.802, allocations: 3.904 MB / 0.9252 GB, free: 31.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/1.802, allocations: 4 kB / 0.9252 GB, free: 31.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009974/1.812, allocations: 2.335 MB / 0.9274 GB, free: 29.55 MB / 0.5294 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,5,100.0%), (1,8,100.0%), (1,13,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.001407/1.813, allocations: 311.3 kB / 0.9277 GB, free: 29.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2019/2.015, allocations: 9.881 MB / 0.9374 GB, free: 195 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/2.015, allocations: 1.188 kB / 0.9374 GB, free: 195 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008839/2.024, allocations: 5.439 MB / 0.9427 GB, free: 194.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008242/2.032, allocations: 1.639 MB / 0.9443 GB, free: 193.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04337/2.076, allocations: 24.65 MB / 0.9684 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009713/2.085, allocations: 8.861 MB / 0.977 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006666/2.092, allocations: 2.533 MB / 0.9795 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/2.094, allocations: 458.9 kB / 0.9799 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/2.094, allocations: 0 / 0.9799 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.1394/2.233, allocations: 94.28 MB / 1.072 GB, free: 84.82 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches