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.0008149/0.0008149, allocations: 97.25 kB / 17.31 MB, free: 5.98 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.0008406/0.0008406, allocations: 177.8 kB / 18.21 MB, free: 5.414 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.132/1.132, allocations: 223.3 MB / 242.3 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002017/0.0002017, allocations: 4.188 kB / 302.1 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06952/0.06973, allocations: 50.42 MB / 352.5 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1587/0.2285, allocations: 36.08 MB / 388.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.2434, allocations: 9.849 MB / 398.5 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005457/0.2489, allocations: 274 kB / 398.7 MB, free: 1.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004602/0.2535, allocations: 2.464 MB / 401.2 MB, free: 44 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009128/0.2626, allocations: 3.66 MB / 404.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004156/0.2668, allocations: 2.102 MB / 407 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01456/0.2814, allocations: 16.6 MB / 423.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03687/0.3183, allocations: 29.31 MB / 452.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007174/0.3254, allocations: 5.931 MB / 458.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00732/0.3328, allocations: 7.212 MB / 466 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.334, allocations: 0.9375 MB / 466.9 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.3366, allocations: 1.328 MB / 468.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002128/0.3388, allocations: 3.028 MB / 471.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006078/0.3448, allocations: 7.279 MB / 478.6 MB, free: 7.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01973/0.3646, allocations: 27.07 MB / 0.4938 GB, free: 12.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3646, allocations: 0 / 0.4938 GB, free: 12.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3646, allocations: 0 / 0.4938 GB, free: 12.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004096/0.365, allocations: 4 kB / 0.4938 GB, free: 12.19 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.03328/0.3983, allocations: 15.6 MB / 0.509 GB, free: 12.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3983, allocations: 8.031 kB / 0.509 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03899/0.4373, allocations: 8.286 MB / 0.5171 GB, free: 4.145 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2881/0.7254, allocations: 9.896 MB / 0.5268 GB, free: 106.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007795/0.7263, allocations: 1.061 MB / 0.5278 GB, free: 106 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003777/0.73, allocations: 1.406 MB / 0.5292 GB, free: 105.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03895/0.769, allocations: 22.78 MB / 0.5515 GB, free: 96.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003128/0.7694, allocations: 20.91 kB / 0.5515 GB, free: 96.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001816/0.7712, allocations: 0.5807 MB / 0.552 GB, free: 95.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004561/0.7716, allocations: 0.7729 MB / 0.5528 GB, free: 95.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02912/0.8008, allocations: 21.05 MB / 0.5734 GB, free: 78.56 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07983/0.8806, allocations: 73.14 MB / 0.6448 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02927/0.9099, allocations: 42.41 MB / 0.6862 GB, free: 5.207 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007494/0.9175, allocations: 5.267 MB / 0.6913 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01924/0.9367, allocations: 12.83 MB / 0.7039 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/0.9368, allocations: 98.72 kB / 0.704 GB, free: 3.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=504): time 6.934e-06/0.9368, allocations: 0 / 0.704 GB, free: 3.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=512): time 0.2051/1.142, allocations: 26.8 MB / 0.7301 GB, free: 148.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.142, allocations: 132.6 kB / 0.7303 GB, free: 148.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007032/1.149, allocations: 5.758 MB / 0.7359 GB, free: 146.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004686/1.15, allocations: 113.3 kB / 0.736 GB, free: 146.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002295/1.152, allocations: 6.139 MB / 0.742 GB, free: 141.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/1.153, allocations: 1.747 MB / 0.7437 GB, free: 140.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008029/1.154, allocations: 0.5918 MB / 0.7443 GB, free: 140.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.171e-05/1.154, allocations: 311.8 kB / 0.7446 GB, free: 139.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004234/1.158, allocations: 3.678 MB / 0.7482 GB, free: 138.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005198/1.163, allocations: 6.526 MB / 0.7545 GB, free: 133.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009742/1.173, allocations: 10.86 MB / 0.7652 GB, free: 126 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-05/1.173, allocations: 26.06 kB / 0.7652 GB, free: 126 MB / 494.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.01527/1.188, allocations: 12.2 MB / 0.7771 GB, free: 118.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/1.189, allocations: 44 kB / 0.7771 GB, free: 118.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.923e-05/1.189, allocations: 92.56 kB / 0.7772 GB, free: 118.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/1.192, allocations: 1.597 MB / 0.7788 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00469/1.197, allocations: 1.667 MB / 0.7804 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/1.213, allocations: 18.23 MB / 0.7982 GB, free: 97.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004957/1.218, allocations: 431.4 kB / 0.7986 GB, free: 97.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008578/1.219, allocations: 368 kB / 0.799 GB, free: 96.83 MB / 494.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.006698/1.225, allocations: 5.187 MB / 0.804 GB, free: 91.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.226, allocations: 0.5942 MB / 0.8046 GB, free: 91.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/1.239, allocations: 9.46 MB / 0.8139 GB, free: 81.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007215/1.246, allocations: 5.963 MB / 0.8197 GB, free: 75.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-05/1.246, allocations: 20 kB / 0.8197 GB, free: 75.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.557e-05/1.246, allocations: 27.89 kB / 0.8197 GB, free: 75.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02678/1.273, allocations: 21.17 MB / 0.8404 GB, free: 54.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/1.273, allocations: 8 kB / 0.8404 GB, free: 54.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/1.276, allocations: 0.8699 MB / 0.8413 GB, free: 53.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003647/1.28, allocations: 1.633 MB / 0.8428 GB, free: 51.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003724/1.28, allocations: 128 kB / 0.843 GB, free: 51.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/1.298, allocations: 21.37 MB / 0.8638 GB, free: 29.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.298, allocations: 14.34 kB / 0.8638 GB, free: 29.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/1.314, allocations: 13.89 MB / 0.8774 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002251/1.316, allocations: 1.368 MB / 0.8788 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009869/1.317, allocations: 104 kB / 0.8788 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.32, allocations: 299.7 kB / 0.8791 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000729/1.321, allocations: 404.5 kB / 0.8795 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003116/1.321, allocations: 159.9 kB / 0.8797 GB, free: 12.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.169/1.49, allocations: 3.88 MB / 0.8835 GB, free: 140 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.62e-07/1.49, allocations: 0 / 0.8835 GB, free: 140 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008765/1.499, allocations: 2.341 MB / 0.8857 GB, free: 140 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.001071/1.5, allocations: 317.2 kB / 0.8861 GB, free: 139.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01412/1.514, allocations: 9.967 MB / 0.8958 GB, free: 138.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.514, allocations: 2.594 kB / 0.8958 GB, free: 138.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007237/1.522, allocations: 5.5 MB / 0.9012 GB, free: 135.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01106/1.533, allocations: 1.538 MB / 0.9027 GB, free: 135.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03495/1.568, allocations: 30.68 MB / 0.9326 GB, free: 118.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00729/1.575, allocations: 8.573 MB / 0.941 GB, free: 115.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001797/1.577, allocations: 0.5048 MB / 0.9415 GB, free: 115.4 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/1.577, allocations: 4 kB / 0.9415 GB, free: 115.4 MB / 494.1 MB Notification: Performance of Templates: time 0.9506/2.527, allocations: 0.6657 GB / 1.607 GB, free: 25.36 MB / 0.5138 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