Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 110 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000981/0.000981, allocations: 54.92 kB / 302.1 MB, free: 5.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1047, allocations: 49.44 MB / 351.5 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02608/0.1308, allocations: 12.88 MB / 364.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.1432, allocations: 4.271 MB / 368.7 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.1451, allocations: 75.69 kB / 368.7 MB, free: 2.352 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002484/0.1475, allocations: 0.963 MB / 369.7 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003991/0.1516, allocations: 1.309 MB / 371 MB, free: 68 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1747/0.3263, allocations: 0.8157 MB / 371.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005493/0.3318, allocations: 4.029 MB / 375.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004721/0.3366, allocations: 3.243 MB / 379.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/0.3398, allocations: 1.874 MB / 381 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003695/0.3435, allocations: 2.119 MB / 383.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.3449, allocations: 0.5093 MB / 383.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.3475, allocations: 0.707 MB / 384.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.3489, allocations: 1.142 MB / 385.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00328/0.3522, allocations: 2.128 MB / 387.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005441/0.3576, allocations: 6.758 MB / 394.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3577, allocations: 0 / 394.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3577, allocations: 4 kB / 394.3 MB, free: 4.121 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001338/0.3578, allocations: 0 / 394.3 MB, free: 4.121 MB / 302.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.01038/0.3682, allocations: 4.395 MB / 398.7 MB, free: 1.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3683, allocations: 6.875 kB / 398.7 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004067/0.3723, allocations: 0.8103 MB / 399.5 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005259/0.3776, allocations: 2.46 MB / 402 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.3779, allocations: 237.7 kB / 402.2 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005719/0.3784, allocations: 320.5 kB / 402.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008137/0.3866, allocations: 4.253 MB / 406.8 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.049e-05/0.3867, allocations: 11.47 kB / 406.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002857/0.387, allocations: 124 kB / 406.9 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.3871, allocations: 146.2 kB / 407.1 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006059/0.3932, allocations: 3.663 MB / 410.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01982/0.413, allocations: 13.32 MB / 424.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006223/0.4193, allocations: 6.861 MB / 430.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.4216, allocations: 1.416 MB / 432.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006235/0.4278, allocations: 3.636 MB / 436 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.4279, allocations: 43.56 kB / 436 MB, free: 11.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 2.624e-06/0.4279, allocations: 3.375 kB / 436 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01362/0.4415, allocations: 6.634 MB / 442.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.4416, allocations: 64.72 kB / 442.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003832/0.4455, allocations: 1.855 MB / 444.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/0.4458, allocations: 53.36 kB / 444.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.4469, allocations: 1.43 MB / 446.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.4472, allocations: 499.8 kB / 446.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/0.4477, allocations: 307.3 kB / 446.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.4478, allocations: 301.1 kB / 447.1 MB, free: 460 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.4491, allocations: 0.7613 MB / 447.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.4507, allocations: 1.223 MB / 449.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/0.4533, allocations: 2.104 MB / 451.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4533, allocations: 4 kB / 451.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.00441/0.4577, allocations: 2.663 MB / 453.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.4578, allocations: 12 kB / 453.9 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.4578, allocations: 16.22 kB / 453.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.4591, allocations: 0.5099 MB / 454.4 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.4605, allocations: 383.4 kB / 454.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0081/0.4686, allocations: 6.934 MB / 461.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.4701, allocations: 71.88 kB / 461.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4703, allocations: 71.98 kB / 461.9 MB, free: 1.109 MB / 366.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.001629/0.4719, allocations: 1.052 MB / 462.9 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.4722, allocations: 197.7 kB / 463.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/0.4763, allocations: 2.496 MB / 465.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.4763, allocations: 12 kB / 465.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.4763, allocations: 8 kB / 465.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.4764, allocations: 11.91 kB / 465.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008314/0.4847, allocations: 5.534 MB / 471.2 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4847, allocations: 3.938 kB / 471.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009894/0.4857, allocations: 211.7 kB / 471.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.4869, allocations: 0.4921 MB / 471.9 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.539e-05/0.487, allocations: 35.98 kB / 471.9 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/0.497, allocations: 11.43 MB / 483.4 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4971, allocations: 0 / 483.4 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/0.5024, allocations: 3.565 MB / 486.9 MB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.5035, allocations: 462.6 kB / 487.4 MB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.5037, allocations: 28 kB / 487.4 MB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/0.5046, allocations: 67.94 kB / 487.5 MB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/0.505, allocations: 113.1 kB / 487.6 MB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.5051, allocations: 39.98 kB / 487.6 MB, free: 6.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001971/0.5071, allocations: 1.286 MB / 488.9 MB, free: 5.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5071, allocations: 0 / 488.9 MB, free: 5.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002555/0.5096, allocations: 0.5898 MB / 489.5 MB, free: 4.512 MB / 398.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.0004794/0.5101, allocations: 166.2 kB / 489.7 MB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004417/0.5146, allocations: 2.399 MB / 492.1 MB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5146, allocations: 0 / 492.1 MB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002527/0.5171, allocations: 1.731 MB / 493.8 MB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.5196, allocations: 0.5074 MB / 494.3 MB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009512/0.5291, allocations: 5.925 MB / 0.4885 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002512/0.5317, allocations: 2.366 MB / 0.4908 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001598/0.5333, allocations: 416.8 kB / 0.4912 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.5337, allocations: 135.4 kB / 0.4913 GB, free: 6.723 MB / 414.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5337, allocations: 3.938 kB / 0.4913 GB, free: 6.719 MB / 414.1 MB Notification: Performance of Templates: time 0.05159/0.5853, allocations: 30.92 MB / 0.5215 GB, free: 8.145 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches