Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 203.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.173/1.173, allocations: 227.2 MB / 245 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009262/0.000926, allocations: 101.3 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002192/0.0002195, allocations: 4 kB / 358 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1925, allocations: 51.47 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2749/0.4675, allocations: 110.7 MB / 0.5079 GB, free: 44.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4678, allocations: 98.8 kB / 0.508 GB, free: 44.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1692/0.637, allocations: 83.77 MB / 0.5898 GB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.637, allocations: 4 kB / 0.5898 GB, free: 10.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002798/0.6373, allocations: 83.86 kB / 0.5899 GB, free: 10.59 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01023/0.6475, allocations: 3.587 MB / 0.5934 GB, free: 6.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.6476, allocations: 12.02 kB / 0.5934 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/0.6519, allocations: 0.7608 MB / 0.5942 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00779/0.6598, allocations: 3.395 MB / 0.5975 GB, free: 2.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.6599, allocations: 234.2 kB / 0.5977 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007863/0.6607, allocations: 315.9 kB / 0.598 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0077/0.6684, allocations: 4.161 MB / 0.6021 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-05/0.6685, allocations: 11.91 kB / 0.6021 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004015/0.6689, allocations: 132 kB / 0.6022 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.6691, allocations: 146.2 kB / 0.6024 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005944/0.675, allocations: 3.46 MB / 0.6057 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02066/0.6957, allocations: 13.63 MB / 0.619 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005622/0.7014, allocations: 6.882 MB / 0.6258 GB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005371/0.7068, allocations: 3.506 MB / 0.6292 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.7068, allocations: 47.81 kB / 0.6292 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 2.564e-06/0.7068, allocations: 4 kB / 0.6292 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.01186/0.7187, allocations: 6.804 MB / 0.6359 GB, free: 9.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.7188, allocations: 64.72 kB / 0.6359 GB, free: 9.559 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.721, allocations: 1.64 MB / 0.6375 GB, free: 7.922 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.595e-05/0.7211, allocations: 53.7 kB / 0.6376 GB, free: 7.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008611/0.722, allocations: 1.424 MB / 0.639 GB, free: 6.422 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.7223, allocations: 0.5082 MB / 0.6395 GB, free: 5.906 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.7224, allocations: 36 kB / 0.6395 GB, free: 5.871 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7226, allocations: 381.8 kB / 0.6399 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.7238, allocations: 0.7769 MB / 0.6406 GB, free: 4.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.7252, allocations: 1.222 MB / 0.6418 GB, free: 3.305 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.7266, allocations: 0.9941 MB / 0.6428 GB, free: 2.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.7266, allocations: 4 kB / 0.6428 GB, free: 2.309 MB / 426.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004849/0.7314, allocations: 2.687 MB / 0.6454 GB, free: 15.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.7315, allocations: 16.03 kB / 0.6454 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.7315, allocations: 15.95 kB / 0.6455 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.7331, allocations: 0.5053 MB / 0.6459 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.7348, allocations: 391.4 kB / 0.6463 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007484/0.7423, allocations: 6.546 MB / 0.6527 GB, free: 7.855 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.7441, allocations: 83.86 kB / 0.6528 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.7443, allocations: 71.98 kB / 0.6529 GB, free: 7.703 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 182 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(8,56.2%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001966/0.7462, allocations: 1.048 MB / 0.6539 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/0.7466, allocations: 205.5 kB / 0.6541 GB, free: 6.441 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.7507, allocations: 2.555 MB / 0.6566 GB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.7508, allocations: 16 kB / 0.6566 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.7508, allocations: 8 kB / 0.6566 GB, free: 3.805 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.7508, allocations: 11.95 kB / 0.6566 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009181/0.76, allocations: 5.657 MB / 0.6621 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.76, allocations: 4 kB / 0.6621 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.7611, allocations: 235.8 kB / 0.6624 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.7623, allocations: 0.4916 MB / 0.6628 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.305e-05/0.7625, allocations: 32 kB / 0.6629 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009501/0.772, allocations: 10.6 MB / 0.6732 GB, free: 1.957 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.772, allocations: 7.969 kB / 0.6732 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1918/0.9639, allocations: 3.75 MB / 0.6769 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.9652, allocations: 467.4 kB / 0.6773 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.9654, allocations: 30.16 kB / 0.6774 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009683/0.9664, allocations: 79.64 kB / 0.6774 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/0.9667, allocations: 121 kB / 0.6776 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-05/0.9668, allocations: 44.66 kB / 0.6776 GB, free: 100.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001709/0.9685, allocations: 1.26 MB / 0.6788 GB, free: 100.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9685, allocations: 0 / 0.6788 GB, free: 100.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002158/0.9707, allocations: 0.6377 MB / 0.6795 GB, free: 100.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 103 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006629/0.9713, allocations: 392.3 kB / 0.6798 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003739/0.9751, allocations: 2.443 MB / 0.6822 GB, free: 100.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.9751, allocations: 2.938 kB / 0.6822 GB, free: 100.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.9773, allocations: 1.735 MB / 0.6839 GB, free: 99.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.9796, allocations: 498.3 kB / 0.6844 GB, free: 99.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009893/0.9896, allocations: 7.218 MB / 0.6914 GB, free: 96.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.9912, allocations: 2.434 MB / 0.6938 GB, free: 95.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001459/0.9926, allocations: 419.9 kB / 0.6942 GB, free: 95.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.993, allocations: 130.5 kB / 0.6943 GB, free: 95.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.353e-06/0.993, allocations: 0 / 0.6943 GB, free: 95.79 MB / 458.7 MB Notification: Performance of Templates: time 0.04141/1.034, allocations: 31.79 MB / 0.7254 GB, free: 94.21 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches