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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.1 MB / 223.8 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000836/0.000836, allocations: 95.33 kB / 271.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007132/0.0007133, allocations: 35.94 kB / 327.2 MB, free: 292 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1939, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02532/0.2193, allocations: 37.65 MB / 411.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.2355, allocations: 9.912 MB / 421.4 MB, free: 1.758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006469/0.242, allocations: 235.1 kB / 421.6 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01851/0.2606, allocations: 9.573 MB / 431.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0123/0.2729, allocations: 3.732 MB / 435 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007601/0.2805, allocations: 2.232 MB / 437.2 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01975/0.3003, allocations: 17.07 MB / 454.3 MB, free: 0.832 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03913/0.3394, allocations: 25.5 MB / 479.8 MB, free: 7.094 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.3506, allocations: 7.266 MB / 487 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01192/0.3626, allocations: 8.917 MB / 495.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004474/0.3671, allocations: 1.539 MB / 497.5 MB, free: 5.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006126/0.3732, allocations: 1.941 MB / 499.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2976/0.6708, allocations: 3.938 MB / 0.4916 GB, free: 39.89 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.013/0.6839, allocations: 8.33 MB / 0.4997 GB, free: 39.24 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02619/0.7101, allocations: 31.32 MB / 0.5303 GB, free: 29.13 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.7101, allocations: 2.281 kB / 0.5303 GB, free: 29.13 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.373e-06/0.7101, allocations: 0 / 0.5303 GB, free: 29.13 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001029/0.7112, allocations: 2.094 kB / 0.5303 GB, free: 29.13 MB / 378.8 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.05554/0.7667, allocations: 18.91 MB / 0.5488 GB, free: 17.36 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.7668, allocations: 11.53 kB / 0.5488 GB, free: 17.36 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04442/0.8112, allocations: 9.242 MB / 0.5578 GB, free: 11.03 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01862/0.8299, allocations: 9.111 MB / 0.5667 GB, free: 2.293 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007309/0.8306, allocations: 1.072 MB / 0.5677 GB, free: 1.234 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005356/0.836, allocations: 1.417 MB / 0.5691 GB, free: 15.83 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05585/0.8919, allocations: 23.23 MB / 0.5918 GB, free: 8.555 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004244/0.8923, allocations: 23.83 kB / 0.5918 GB, free: 8.531 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003344/0.8957, allocations: 0.5878 MB / 0.5924 GB, free: 7.961 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007182/0.8964, allocations: 0.8032 MB / 0.5932 GB, free: 7.156 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0437/0.9401, allocations: 21.7 MB / 0.6144 GB, free: 1.449 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2963/1.236, allocations: 74.16 MB / 0.6868 GB, free: 131.6 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02746/1.264, allocations: 53.6 MB / 0.7391 GB, free: 84.94 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007346/1.271, allocations: 5.431 MB / 0.7444 GB, free: 84.82 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02528/1.297, allocations: 15.6 MB / 0.7597 GB, free: 79.05 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/1.297, allocations: 90.09 kB / 0.7598 GB, free: 78.97 MB / 474.8 MB Notification: Performance of pre-optimization done (n=504): time 5.771e-06/1.297, allocations: 4 kB / 0.7598 GB, free: 78.97 MB / 474.8 MB Notification: Performance of matching and sorting (n=512): time 0.04989/1.347, allocations: 26.82 MB / 0.786 GB, free: 56.06 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/1.347, allocations: 129.4 kB / 0.7861 GB, free: 55.91 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007469/1.354, allocations: 5.899 MB / 0.7918 GB, free: 50.04 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006005/1.355, allocations: 109.7 kB / 0.792 GB, free: 49.93 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.357, allocations: 6.288 MB / 0.7981 GB, free: 43.61 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001221/1.358, allocations: 1.753 MB / 0.7998 GB, free: 41.87 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00188/1.36, allocations: 1.536 MB / 0.8013 GB, free: 40.33 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.499e-05/1.36, allocations: 305.1 kB / 0.8016 GB, free: 40.03 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004178/1.365, allocations: 3.724 MB / 0.8052 GB, free: 36.3 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00557/1.37, allocations: 6.812 MB / 0.8119 GB, free: 28.07 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.381, allocations: 11.22 MB / 0.8228 GB, free: 15.41 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.432e-05/1.381, allocations: 32 kB / 0.8229 GB, free: 15.38 MB / 474.8 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.01547/1.396, allocations: 12.48 MB / 0.8351 GB, free: 2.828 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/1.396, allocations: 54.72 kB / 0.8351 GB, free: 2.777 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-05/1.396, allocations: 100 kB / 0.8352 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003665/1.4, allocations: 1.592 MB / 0.8368 GB, free: 1.07 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1691/1.569, allocations: 1.743 MB / 0.8385 GB, free: 148.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/1.589, allocations: 18.22 MB / 0.8563 GB, free: 141.8 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006098/1.595, allocations: 437.5 kB / 0.8567 GB, free: 141.7 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.596, allocations: 392.9 kB / 0.8571 GB, free: 141.6 MB / 474.8 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.007702/1.604, allocations: 5.25 MB / 0.8622 GB, free: 139.1 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/1.605, allocations: 0.6044 MB / 0.8628 GB, free: 139.1 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/1.619, allocations: 9.462 MB / 0.872 GB, free: 135.2 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007369/1.626, allocations: 5.957 MB / 0.8778 GB, free: 132.9 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.188e-05/1.626, allocations: 18.31 kB / 0.8778 GB, free: 132.9 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.125e-05/1.626, allocations: 37.55 kB / 0.8779 GB, free: 132.9 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03398/1.66, allocations: 21.22 MB / 0.8986 GB, free: 119.8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.66, allocations: 6 kB / 0.8986 GB, free: 119.8 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003209/1.663, allocations: 0.8688 MB / 0.8995 GB, free: 119.1 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00409/1.667, allocations: 1.64 MB / 0.9011 GB, free: 117.9 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004713/1.668, allocations: 127.4 kB / 0.9012 GB, free: 117.8 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/1.686, allocations: 21.37 MB / 0.9221 GB, free: 95.98 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.686, allocations: 7.938 kB / 0.9221 GB, free: 95.98 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08136/1.768, allocations: 64.63 MB / 0.9852 GB, free: 30.15 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003112/1.771, allocations: 1.376 MB / 0.9865 GB, free: 28.75 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008602/1.772, allocations: 108 kB / 0.9866 GB, free: 28.64 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/1.774, allocations: 283.8 kB / 0.9869 GB, free: 28.36 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008337/1.775, allocations: 415.8 kB / 0.9873 GB, free: 27.96 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002996/1.776, allocations: 156 kB / 0.9874 GB, free: 27.81 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.005057/1.781, allocations: 3.969 MB / 0.9913 GB, free: 23.87 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.4e-07/1.781, allocations: 0 / 0.9913 GB, free: 23.87 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01038/1.791, allocations: 2.953 MB / 0.9942 GB, free: 20.92 MB / 474.8 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.00102/1.792, allocations: 316.9 kB / 0.9945 GB, free: 20.61 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01266/1.805, allocations: 10.07 MB / 1.004 GB, free: 10.44 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.805, allocations: 0 / 1.004 GB, free: 10.44 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1668/1.972, allocations: 5.491 MB / 1.01 GB, free: 139.8 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007675/1.979, allocations: 1.548 MB / 1.011 GB, free: 139.7 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04557/2.025, allocations: 36.19 MB / 1.047 GB, free: 125 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01353/2.038, allocations: 9.095 MB / 1.055 GB, free: 123.8 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.009326/2.048, allocations: 2.602 MB / 1.058 GB, free: 123.4 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/2.05, allocations: 478.7 kB / 1.058 GB, free: 123 MB / 474.8 MB Notification: Performance of SimCode: time 1.893e-06/2.05, allocations: 0 / 1.058 GB, free: 123 MB / 474.8 MB Notification: Performance of Templates: time 0.1521/2.202, allocations: 114.9 MB / 1.171 GB, free: 12.04 MB / 474.8 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@2/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