Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001911/0.001911, allocations: 180.5 kB / 17.41 MB, free: 4.383 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.497/1.497, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0008387/0.000839, allocations: 89.38 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 16 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2522, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.6644, allocations: 168 MB / 0.531 GB, free: 63.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.6647, allocations: 106 kB / 0.5311 GB, free: 63.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.209/3.874, allocations: 0.854 GB / 1.385 GB, free: 31.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.425e-06/3.874, allocations: 1.875 kB / 1.385 GB, free: 31.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.002719/3.876, allocations: 474.3 kB / 1.386 GB, free: 31.77 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.08907/3.965, allocations: 20.5 MB / 1.406 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/3.966, allocations: 6.75 kB / 1.406 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05901/4.025, allocations: 10.38 MB / 1.416 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04927/4.074, allocations: 15.35 MB / 1.431 GB, free: 22.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003467/4.077, allocations: 1.549 MB / 1.432 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01475/4.092, allocations: 2.014 MB / 1.434 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1276/4.22, allocations: 36.11 MB / 1.469 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001358/4.221, allocations: 34.5 kB / 1.469 GB, free: 19.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01151/4.233, allocations: 0.8719 MB / 1.47 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002179/4.235, allocations: 1.388 MB / 1.472 GB, free: 19.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08996/4.325, allocations: 32.71 MB / 1.504 GB, free: 340 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7638/5.089, allocations: 112.2 MB / 1.613 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05195/5.141, allocations: 44.25 MB / 1.656 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03176/5.173, allocations: 16.55 MB / 1.673 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1391/5.312, allocations: 51.2 MB / 1.723 GB, free: 0 / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/5.312, allocations: 183.8 kB / 1.723 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1578): time 2.149e-05/5.312, allocations: 0.7656 kB / 1.723 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1590): time 0.684/5.996, allocations: 71.14 MB / 1.792 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002524/5.996, allocations: 218.1 kB / 1.792 GB, free: 85.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01857/6.015, allocations: 6.731 MB / 1.799 GB, free: 85.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004072/6.019, allocations: 245.7 kB / 1.799 GB, free: 85.13 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005679/6.025, allocations: 7.355 MB / 1.806 GB, free: 81.55 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.008739/6.034, allocations: 5.21 MB / 1.812 GB, free: 78.15 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0039/6.038, allocations: 256.8 kB / 1.812 GB, free: 78.15 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002302/6.04, allocations: 0.9073 MB / 1.813 GB, free: 77.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02069/6.061, allocations: 10.34 MB / 1.823 GB, free: 77.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02341/6.084, allocations: 12.59 MB / 1.835 GB, free: 75.81 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04367/6.128, allocations: 24.17 MB / 1.859 GB, free: 63.84 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001477/6.128, allocations: 14.94 kB / 1.859 GB, free: 63.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1867) (initialization): time 0.07581/6.204, allocations: 31.68 MB / 1.89 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001637/6.204, allocations: 26.69 kB / 1.89 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002188/6.204, allocations: 48.81 kB / 1.89 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03337/6.238, allocations: 14.75 MB / 1.904 GB, free: 40.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/6.248, allocations: 2.092 MB / 1.906 GB, free: 38.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5203/6.768, allocations: 35.81 MB / 1.941 GB, free: 88.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01311/6.781, allocations: 0.6276 MB / 1.942 GB, free: 88.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004994/6.786, allocations: 0.527 MB / 1.942 GB, free: 88.73 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1060): * Single equations (assignments): 1020 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.02484/6.811, allocations: 7.904 MB / 1.95 GB, free: 88.62 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005704/6.817, allocations: 1.007 MB / 1.951 GB, free: 88.62 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08606/6.903, allocations: 32.27 MB / 1.982 GB, free: 87.83 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000772/6.904, allocations: 386 kB / 1.983 GB, free: 87.82 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001724/6.904, allocations: 10.81 kB / 1.983 GB, free: 87.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005607/6.905, allocations: 69.45 kB / 1.983 GB, free: 87.82 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1335/7.038, allocations: 60.66 MB / 2.042 GB, free: 74.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001798/7.038, allocations: 8.953 kB / 2.042 GB, free: 74.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007453/7.046, allocations: 1.626 MB / 2.044 GB, free: 74.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02757/7.074, allocations: 14.89 MB / 2.058 GB, free: 70.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002672/7.076, allocations: 347.3 kB / 2.059 GB, free: 70.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03795/7.114, allocations: 40.06 MB / 2.098 GB, free: 40.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/7.114, allocations: 6.344 kB / 2.098 GB, free: 40.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4057/7.52, allocations: 48.55 MB / 2.145 GB, free: 79.13 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01463/7.535, allocations: 3.497 MB / 2.149 GB, free: 79.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006302/7.541, allocations: 240.2 kB / 2.149 GB, free: 79.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01254/7.554, allocations: 0.6263 MB / 2.149 GB, free: 79.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006487/7.56, allocations: 1.171 MB / 2.151 GB, free: 79.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003472/7.564, allocations: 422.4 kB / 2.151 GB, free: 79.03 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01122/7.575, allocations: 4.599 MB / 2.155 GB, free: 78.81 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.41e-07/7.575, allocations: 0.6875 kB / 2.155 GB, free: 78.81 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02417/7.599, allocations: 3.898 MB / 2.159 GB, free: 78.81 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (822): * Single equations (assignments): 781 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.007054/7.606, allocations: 0.796 MB / 2.16 GB, free: 78.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0596/7.666, allocations: 26.51 MB / 2.186 GB, free: 77.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/7.666, allocations: 5.125 kB / 2.186 GB, free: 77.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0358/7.702, allocations: 15.14 MB / 2.201 GB, free: 76.34 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0281/7.73, allocations: 2.503 MB / 2.203 GB, free: 76.31 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1353/7.865, allocations: 53.22 MB / 2.255 GB, free: 58.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03657/7.902, allocations: 13.13 MB / 2.268 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007696/7.909, allocations: 0.7234 MB / 2.269 GB, free: 56.94 MB / 0.5573 GB Notification: Performance of SimCode: time 3.126e-06/7.91, allocations: 0 / 2.269 GB, free: 56.94 MB / 0.5573 GB Notification: Performance of Templates: time 5.452/13.36, allocations: 1.892 GB / 4.161 GB, free: 88.75 MB / 0.6042 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches