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.0007302/0.0007302, allocations: 92.12 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000837/0.000837, allocations: 204.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002201/0.0002203, allocations: 8 kB / 307.8 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1027, allocations: 51.53 MB / 359.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01419/0.117, allocations: 12.7 MB / 372 MB, free: 500 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.192/0.309, allocations: 4.389 MB / 376.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/0.3123, allocations: 78.41 kB / 376.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003342/0.3157, allocations: 0.8661 MB / 377.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004658/0.3204, allocations: 1.156 MB / 378.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.3228, allocations: 0.8122 MB / 379.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006435/0.3293, allocations: 4.417 MB / 383.7 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003511/0.3328, allocations: 2.682 MB / 386.4 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002785/0.3356, allocations: 1.316 MB / 387.7 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.3391, allocations: 1.715 MB / 389.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001693/0.3408, allocations: 207.5 kB / 389.6 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.3437, allocations: 449.5 kB / 390.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008676/0.3446, allocations: 0.778 MB / 390.8 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.3468, allocations: 1.769 MB / 392.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005632/0.3524, allocations: 6.362 MB / 399 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3524, allocations: 0 / 399 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3524, allocations: 0 / 399 MB, free: 15.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000165/0.3526, allocations: 0 / 399 MB, free: 15.05 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.0104/0.363, allocations: 3.761 MB / 402.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.3631, allocations: 10.16 kB / 402.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004865/0.3679, allocations: 0.8584 MB / 403.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004258/0.3722, allocations: 2.398 MB / 406 MB, free: 9.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.3724, allocations: 234.8 kB / 406.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000588/0.373, allocations: 315.3 kB / 406.5 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008115/0.3811, allocations: 4.264 MB / 410.8 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.095e-05/0.3812, allocations: 7.984 kB / 410.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002968/0.3816, allocations: 126.5 kB / 410.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.3817, allocations: 146.2 kB / 411.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006165/0.3879, allocations: 3.675 MB / 414.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02049/0.4084, allocations: 13.65 MB / 428.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006633/0.415, allocations: 6.888 MB / 435.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.4176, allocations: 1.428 MB / 436.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006333/0.424, allocations: 3.886 MB / 440.6 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.4241, allocations: 47.5 kB / 440.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 3.206e-06/0.4241, allocations: 0 / 440.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01433/0.4384, allocations: 6.726 MB / 447.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.4385, allocations: 68.72 kB / 447.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/0.4418, allocations: 1.888 MB / 449.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.4419, allocations: 49.7 kB / 449.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009753/0.4429, allocations: 1.44 MB / 450.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004131/0.4434, allocations: 0.4896 MB / 451.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.4436, allocations: 141.6 kB / 451.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.322e-05/0.4437, allocations: 305.1 kB / 451.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.445, allocations: 0.7652 MB / 452.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.4466, allocations: 1.232 MB / 453.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/0.4496, allocations: 2.127 MB / 455.9 MB, free: 6.125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.4497, allocations: 4 kB / 455.9 MB, free: 6.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004876/0.4546, allocations: 2.675 MB / 458.5 MB, free: 3.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.4546, allocations: 23.94 kB / 458.6 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.4546, allocations: 12 kB / 458.6 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.4561, allocations: 0.5049 MB / 459.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.4576, allocations: 383.5 kB / 459.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008328/0.4659, allocations: 6.396 MB / 465.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.4678, allocations: 79.86 kB / 465.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002826/0.4681, allocations: 75.94 kB / 466 MB, free: 11.7 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.002248/0.4704, allocations: 1.049 MB / 467.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006018/0.471, allocations: 205.5 kB / 467.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00499/0.476, allocations: 2.516 MB / 469.8 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.476, allocations: 12 kB / 469.8 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/0.476, allocations: 11.98 kB / 469.8 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.4761, allocations: 3.984 kB / 469.8 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.4863, allocations: 5.554 MB / 475.4 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.4863, allocations: 0 / 475.4 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.4874, allocations: 223.9 kB / 475.6 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.4888, allocations: 0.4919 MB / 476.1 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.4889, allocations: 39.92 kB / 476.1 MB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.4994, allocations: 10.49 MB / 486.6 MB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4994, allocations: 4.031 kB / 486.6 MB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006254/0.5057, allocations: 3.584 MB / 490.2 MB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.507, allocations: 466.4 kB / 490.6 MB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007935/0.5078, allocations: 32 kB / 490.7 MB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/0.5093, allocations: 79.94 kB / 490.8 MB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/0.5097, allocations: 101.2 kB / 490.9 MB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.5098, allocations: 47.98 kB / 490.9 MB, free: 1.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00292/0.5127, allocations: 1.302 MB / 492.2 MB, free: 0.5508 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5127, allocations: 0 / 492.2 MB, free: 0.5508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002955/0.5157, allocations: 0.5938 MB / 492.8 MB, free: 15.95 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.0004537/0.5162, allocations: 178.5 kB / 493 MB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00458/0.5208, allocations: 2.403 MB / 495.4 MB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5208, allocations: 0 / 495.4 MB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002798/0.5236, allocations: 1.747 MB / 497.1 MB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/0.5274, allocations: 0.4926 MB / 497.6 MB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.5398, allocations: 7.505 MB / 0.4933 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002723/0.5426, allocations: 2.371 MB / 0.4956 GB, free: 1.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001929/0.5445, allocations: 425 kB / 0.496 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/0.5451, allocations: 131.4 kB / 0.4961 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5451, allocations: 7.938 kB / 0.4961 GB, free: 0.543 MB / 414.1 MB Notification: Performance of Templates: time 0.05164/0.5968, allocations: 29.76 MB / 0.5252 GB, free: 3.059 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/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