Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.is.1.|aims3.is.2.|aims3.ir.1.|aims3.ir.2.|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.is.3.|aimsM.is.4.|aimsM.ir.1.|aimsM.ir.2.|aimsM.ir.3.|aimsM.ir.4.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.is.1.|aims3.is.2.|aims3.ir.1.|aims3.ir.2.|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.is.3.|aimsM.is.4.|aimsM.ir.1.|aimsM.ir.2.|aimsM.ir.3.|aimsM.ir.4.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.00116, allocations: 195.1 kB / 8.537 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.182/1.182, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008393/0.0008393, allocations: 92.09 kB / 286.3 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.562e-06, allocations: 0 / 343.2 MB, free: 8.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.0891, allocations: 51.47 MB / 394.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2741/0.3633, allocations: 118.4 MB / 0.501 GB, free: 7.395 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.3636, allocations: 104 kB / 0.5011 GB, free: 7.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.628/0.9916, allocations: 225.7 MB / 0.7215 GB, free: 19.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008298/0.9925, allocations: 251 kB / 0.7217 GB, free: 18.91 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.02673/1.019, allocations: 9.665 MB / 0.7312 GB, free: 9.176 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/1.019, allocations: 12.03 kB / 0.7312 GB, free: 9.164 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/1.033, allocations: 2.235 MB / 0.7334 GB, free: 6.914 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2081/1.241, allocations: 9.028 MB / 0.7422 GB, free: 64.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005653/1.241, allocations: 330 kB / 0.7425 GB, free: 64.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003302/1.245, allocations: 0.5893 MB / 0.7431 GB, free: 64.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02543/1.27, allocations: 11.03 MB / 0.7539 GB, free: 64.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03364/1.304, allocations: 12.47 MB / 0.766 GB, free: 63.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003222/1.304, allocations: 7.812 kB / 0.766 GB, free: 63.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00229/1.306, allocations: 9.188 kB / 0.766 GB, free: 63.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003313/1.307, allocations: 464.1 kB / 0.7665 GB, free: 63.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07345/1.38, allocations: 42.87 MB / 0.8084 GB, free: 54.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004568/1.385, allocations: 3.482 MB / 0.8118 GB, free: 53.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006996/1.392, allocations: 5.281 MB / 0.8169 GB, free: 52.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02182/1.414, allocations: 13.57 MB / 0.8302 GB, free: 45.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/1.414, allocations: 95.59 kB / 0.8303 GB, free: 45.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=517): time 7.485e-06/1.414, allocations: 0 / 0.8303 GB, free: 45.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=523): time 0.02799/1.442, allocations: 15.49 MB / 0.8454 GB, free: 38.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/1.442, allocations: 105.6 kB / 0.8455 GB, free: 38.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006782/1.449, allocations: 3.875 MB / 0.8493 GB, free: 37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000929/1.45, allocations: 32.39 kB / 0.8493 GB, free: 36.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.451, allocations: 3.421 MB / 0.8526 GB, free: 34.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001535/1.452, allocations: 1.665 MB / 0.8543 GB, free: 33.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/1.453, allocations: 0 / 0.8543 GB, free: 33.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002272/1.453, allocations: 0.5172 MB / 0.8548 GB, free: 32.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/1.456, allocations: 2.645 MB / 0.8574 GB, free: 31.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003674/1.46, allocations: 3.799 MB / 0.8611 GB, free: 29.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004658/1.465, allocations: 3.369 MB / 0.8644 GB, free: 28.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/1.465, allocations: 11 kB / 0.8644 GB, free: 28.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01309/1.478, allocations: 8.486 MB / 0.8727 GB, free: 24.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.478, allocations: 3.094 kB / 0.8727 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.482e-05/1.478, allocations: 33.03 kB / 0.8727 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003146/1.481, allocations: 1.479 MB / 0.8741 GB, free: 24.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004646/1.486, allocations: 1.122 MB / 0.8752 GB, free: 24.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/1.503, allocations: 25.32 MB / 0.9 GB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/1.508, allocations: 129.2 kB / 0.9001 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008104/1.509, allocations: 215.6 kB / 0.9003 GB, free: 1.289 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (622): * Single equations (assignments): 606 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 14 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,56.2%) 22,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009046/1.509, allocations: 244.3 kB / 0.9005 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009828/1.51, allocations: 0.5557 MB / 0.9011 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2128/1.723, allocations: 8.48 MB / 0.9093 GB, free: 56.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.931e-05/1.723, allocations: 51.25 kB / 0.9094 GB, free: 56.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-05/1.723, allocations: 26.22 kB / 0.9094 GB, free: 56.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.921e-05/1.724, allocations: 32.92 kB / 0.9095 GB, free: 56.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03053/1.754, allocations: 17.49 MB / 0.9265 GB, free: 55.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.754, allocations: 3.375 kB / 0.9265 GB, free: 55.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/1.757, allocations: 0.5918 MB / 0.9271 GB, free: 55.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005019/1.762, allocations: 2.233 MB / 0.9293 GB, free: 54.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006186/1.763, allocations: 39.58 kB / 0.9293 GB, free: 54.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03065/1.793, allocations: 32.5 MB / 0.9611 GB, free: 39.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/1.793, allocations: 5.031 kB / 0.9611 GB, free: 39.05 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01942/1.813, allocations: 12.84 MB / 0.9736 GB, free: 37.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004477/1.817, allocations: 1.256 MB / 0.9748 GB, free: 37.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001891/1.819, allocations: 17 kB / 0.9749 GB, free: 37.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003839/1.823, allocations: 184.8 kB / 0.975 GB, free: 37.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008048/1.824, allocations: 343.2 kB / 0.9754 GB, free: 37.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003669/1.824, allocations: 133.4 kB / 0.9755 GB, free: 37.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.004728/1.829, allocations: 2.899 MB / 0.9783 GB, free: 37.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008294/1.837, allocations: 1.726 MB / 0.98 GB, free: 37.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,aims3.rotor.zeroInductor.i0,loadInertiaM.w,loadInertia3.w,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (337): * Single equations (assignments): 324 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,49.6%) 56,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/1.839, allocations: 0.5029 MB / 0.9805 GB, free: 37.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01314/1.852, allocations: 8.208 MB / 0.9885 GB, free: 35.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/1.852, allocations: 0 / 0.9885 GB, free: 35.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0104/1.862, allocations: 5.482 MB / 0.9939 GB, free: 33.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007773/1.87, allocations: 1.143 MB / 0.995 GB, free: 33.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04791/1.918, allocations: 15.83 MB / 1.01 GB, free: 27.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01737/1.936, allocations: 6.885 MB / 1.017 GB, free: 25.47 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/1.936, allocations: 0 / 1.017 GB, free: 25.47 MB / 442.7 MB Notification: Performance of Templates: time 0.4036/2.339, allocations: 91.8 MB / 1.107 GB, free: 50.55 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/ComparisonPolyphase/IMS_Start_Polyphase/IMS_Start_Polyphase.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches