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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 109.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.48 kB / 307.7 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09802, allocations: 50.54 MB / 358.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01597/0.114, allocations: 13.49 MB / 371.7 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1582/0.2723, allocations: 4.538 MB / 376.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.274, allocations: 78.44 kB / 376.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.2765, allocations: 0.991 MB / 377.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003621/0.2801, allocations: 1.274 MB / 378.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.2822, allocations: 0.893 MB / 379.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004448/0.2866, allocations: 4.047 MB / 383.5 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003581/0.2902, allocations: 3.252 MB / 386.8 MB, free: 5.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003032/0.2933, allocations: 1.881 MB / 388.7 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003768/0.2971, allocations: 2.238 MB / 390.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.2985, allocations: 0.5134 MB / 391.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.301, allocations: 0.741 MB / 392.1 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.3022, allocations: 1.147 MB / 393.3 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002969/0.3051, allocations: 2.14 MB / 395.4 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006979/0.3121, allocations: 6.747 MB / 402.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3122, allocations: 0 / 402.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3122, allocations: 0 / 402.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001621/0.3123, allocations: 4 kB / 402.2 MB, free: 13.08 MB / 318.1 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.01197/0.3243, allocations: 4.442 MB / 406.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3244, allocations: 8.031 kB / 406.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/0.329, allocations: 0.8251 MB / 407.5 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004806/0.3338, allocations: 2.443 MB / 409.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.334, allocations: 235 kB / 410.1 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006927/0.3347, allocations: 311 kB / 410.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008627/0.3434, allocations: 4.267 MB / 414.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.005e-05/0.3435, allocations: 8 kB / 414.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003192/0.3438, allocations: 120 kB / 414.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.344, allocations: 146.2 kB / 415 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007028/0.351, allocations: 3.669 MB / 418.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02339/0.3744, allocations: 13.59 MB / 432.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00733/0.3818, allocations: 6.887 MB / 439.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/0.3843, allocations: 1.411 MB / 440.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006715/0.3911, allocations: 3.899 MB / 444.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.3912, allocations: 55.56 kB / 444.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 3.116e-06/0.3912, allocations: 0 / 444.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01494/0.4061, allocations: 6.667 MB / 451.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4062, allocations: 64.72 kB / 451.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/0.4092, allocations: 1.884 MB / 453.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001691/0.4093, allocations: 49.7 kB / 453.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.4105, allocations: 1.438 MB / 454.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/0.411, allocations: 0.4951 MB / 455.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005022/0.4115, allocations: 311.3 kB / 455.4 MB, free: 7.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4117, allocations: 305.1 kB / 455.7 MB, free: 6.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.413, allocations: 0.7574 MB / 456.4 MB, free: 6.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4147, allocations: 1.224 MB / 457.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/0.4178, allocations: 2.111 MB / 459.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.4178, allocations: 7.938 kB / 459.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004918/0.4228, allocations: 2.663 MB / 462.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.4228, allocations: 15.94 kB / 462.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.4228, allocations: 16 kB / 462.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.4243, allocations: 0.5052 MB / 463 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.4258, allocations: 383.4 kB / 463.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009413/0.4352, allocations: 6.922 MB / 470.3 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.4371, allocations: 72.03 kB / 470.3 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.4374, allocations: 75.98 kB / 470.4 MB, free: 7.527 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002272/0.4396, allocations: 1.06 MB / 471.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/0.4402, allocations: 197.6 kB / 471.7 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/0.4449, allocations: 2.504 MB / 474.2 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.445, allocations: 12 kB / 474.2 MB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/0.445, allocations: 11.94 kB / 474.2 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.445, allocations: 7.969 kB / 474.2 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.4552, allocations: 5.538 MB / 479.7 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.4552, allocations: 0 / 479.7 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.4563, allocations: 223.7 kB / 480 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.4577, allocations: 0.4999 MB / 480.5 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.4578, allocations: 39.98 kB / 480.5 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/0.47, allocations: 11.43 MB / 491.9 MB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4701, allocations: 4.031 kB / 491.9 MB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006443/0.4766, allocations: 3.572 MB / 495.5 MB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.4778, allocations: 462.5 kB / 496 MB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003644/0.4782, allocations: 28 kB / 496 MB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.4792, allocations: 67.95 kB / 496.1 MB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000339/0.4796, allocations: 117 kB / 496.2 MB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.08e-05/0.4797, allocations: 39.98 kB / 496.2 MB, free: 12.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002293/0.482, allocations: 1.302 MB / 497.5 MB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.482, allocations: 0 / 497.5 MB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002412/0.4844, allocations: 0.5978 MB / 498.1 MB, free: 10.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi) * 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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004181/0.4849, allocations: 184.2 kB / 498.3 MB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006149/0.491, allocations: 2.848 MB / 0.4894 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4911, allocations: 4 kB / 0.4894 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.4939, allocations: 1.723 MB / 0.4911 GB, free: 6.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.4965, allocations: 0.5238 MB / 0.4916 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.5082, allocations: 6.001 MB / 0.4974 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/0.5106, allocations: 2.321 MB / 0.4997 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006723/0.5113, allocations: 147.4 kB / 0.4999 GB, free: 12.96 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5113, allocations: 4 kB / 0.4999 GB, free: 12.96 MB / 430.1 MB Notification: Performance of Templates: time 0.2697/0.7809, allocations: 98.35 MB / 0.5959 GB, free: 93.54 MB / 446.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches