Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001087/0.001087, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.047e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.09746, allocations: 47.59 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5492, allocations: 109.6 MB / 478.7 MB, free: 76 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.5496, allocations: 88.75 kB / 478.8 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5879/1.138, allocations: 80.53 MB / 0.5462 GB, free: 89.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.138, allocations: 0 / 0.5462 GB, free: 89.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004026/1.138, allocations: 78.86 kB / 0.5463 GB, free: 89.79 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01482/1.153, allocations: 3.207 MB / 0.5494 GB, free: 88.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/1.153, allocations: 10.59 kB / 0.5494 GB, free: 88.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006557/1.159, allocations: 0.7337 MB / 0.5501 GB, free: 88.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/1.172, allocations: 3.306 MB / 0.5533 GB, free: 87.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/1.173, allocations: 239.8 kB / 0.5536 GB, free: 87.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/1.174, allocations: 324.1 kB / 0.5539 GB, free: 87.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/1.187, allocations: 4.137 MB / 0.5579 GB, free: 87.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001522/1.187, allocations: 10.69 kB / 0.5579 GB, free: 87.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000741/1.188, allocations: 137.5 kB / 0.5581 GB, free: 87.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/1.188, allocations: 145 kB / 0.5582 GB, free: 87.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/1.199, allocations: 3.337 MB / 0.5615 GB, free: 87.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03647/1.236, allocations: 13.91 MB / 0.575 GB, free: 81.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009737/1.246, allocations: 6.602 MB / 0.5815 GB, free: 75.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003793/1.249, allocations: 1.356 MB / 0.5828 GB, free: 74.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/1.261, allocations: 3.809 MB / 0.5865 GB, free: 72.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/1.261, allocations: 50.72 kB / 0.5866 GB, free: 72.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 5.16e-06/1.261, allocations: 1.594 kB / 0.5866 GB, free: 72.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.01177/1.273, allocations: 4.34 MB / 0.5908 GB, free: 70.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/1.273, allocations: 67.78 kB / 0.5909 GB, free: 70.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/1.276, allocations: 1.512 MB / 0.5924 GB, free: 69.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000354/1.277, allocations: 49.45 kB / 0.5924 GB, free: 69.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009638/1.278, allocations: 1.358 MB / 0.5937 GB, free: 68.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006409/1.278, allocations: 0.5006 MB / 0.5942 GB, free: 68.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/1.278, allocations: 39.44 kB / 0.5943 GB, free: 68.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/1.279, allocations: 379.8 kB / 0.5946 GB, free: 67.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/1.28, allocations: 0.6705 MB / 0.5953 GB, free: 67.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/1.282, allocations: 1.134 MB / 0.5964 GB, free: 66.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/1.284, allocations: 0.888 MB / 0.5973 GB, free: 66.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/1.284, allocations: 3.906 kB / 0.5973 GB, free: 66.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00597/1.29, allocations: 2.403 MB / 0.5996 GB, free: 65.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/1.29, allocations: 11.47 kB / 0.5996 GB, free: 65.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.291, allocations: 18.31 kB / 0.5996 GB, free: 65.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/1.292, allocations: 374.8 kB / 0.6 GB, free: 65.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/1.296, allocations: 384 kB / 0.6004 GB, free: 65.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009814/1.306, allocations: 7.854 MB / 0.608 GB, free: 58.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/1.308, allocations: 79.38 kB / 0.6081 GB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/1.308, allocations: 70.44 kB / 0.6082 GB, free: 58.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004819/1.309, allocations: 210.6 kB / 0.6084 GB, free: 58.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000595/1.309, allocations: 192.3 kB / 0.6086 GB, free: 58.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006642/1.316, allocations: 2.352 MB / 0.6109 GB, free: 56.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/1.316, allocations: 15.41 kB / 0.6109 GB, free: 56.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/1.316, allocations: 10.17 kB / 0.6109 GB, free: 56.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.548e-05/1.316, allocations: 7.406 kB / 0.6109 GB, free: 56.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/1.334, allocations: 5.175 MB / 0.6159 GB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/1.334, allocations: 7.5 kB / 0.6159 GB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/1.336, allocations: 192.4 kB / 0.6161 GB, free: 54.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003398/1.34, allocations: 0.5506 MB / 0.6167 GB, free: 53.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003755/1.34, allocations: 39.7 kB / 0.6167 GB, free: 53.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/1.356, allocations: 12.22 MB / 0.6286 GB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.356, allocations: 0 / 0.6286 GB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007887/1.364, allocations: 3.395 MB / 0.632 GB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/1.366, allocations: 433.9 kB / 0.6324 GB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005963/1.366, allocations: 35.42 kB / 0.6324 GB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.368, allocations: 77.73 kB / 0.6325 GB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/1.369, allocations: 114.1 kB / 0.6326 GB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.369, allocations: 40 kB / 0.6326 GB, free: 37.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002594/1.371, allocations: 1.16 MB / 0.6338 GB, free: 36.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.603e-06/1.371, allocations: 96 / 0.6338 GB, free: 36.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003602/1.375, allocations: 0.6403 MB / 0.6344 GB, free: 36.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 7,(1,100.0%) 13,(3,100.0%) 9,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009295/1.376, allocations: 407.3 kB / 0.6348 GB, free: 35.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005405/1.381, allocations: 2.37 MB / 0.6371 GB, free: 33.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.381, allocations: 0 / 0.6371 GB, free: 33.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004018/1.385, allocations: 1.759 MB / 0.6388 GB, free: 31.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004168/1.39, allocations: 0.498 MB / 0.6393 GB, free: 31.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.404, allocations: 4.799 MB / 0.644 GB, free: 27.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/1.407, allocations: 2.331 MB / 0.6463 GB, free: 25.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008782/1.408, allocations: 134.7 kB / 0.6464 GB, free: 25.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/1.408, allocations: 0 / 0.6464 GB, free: 25.09 MB / 410.7 MB Notification: Performance of Templates: time 0.4962/1.904, allocations: 121.5 MB / 0.7651 GB, free: 66.88 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches