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.001343/0.001343, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 201.2 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 67.88 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2354, allocations: 50.54 MB / 409.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01351/0.249, allocations: 13.5 MB / 422.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007176/0.2562, allocations: 4.536 MB / 427.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.258, allocations: 87.69 kB / 427.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.2606, allocations: 1.025 MB / 428.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.264, allocations: 1.32 MB / 429.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.2661, allocations: 0.8874 MB / 430.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004342/0.2705, allocations: 4.063 MB / 434.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004041/0.2745, allocations: 3.24 MB / 437.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.277, allocations: 1.916 MB / 439.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.2795, allocations: 2.242 MB / 442.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005246/0.28, allocations: 0.5117 MB / 442.6 MB, free: 80 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.2811, allocations: 0.7302 MB / 443.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008785/0.282, allocations: 1.145 MB / 444.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.284, allocations: 2.143 MB / 446.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0056/0.2896, allocations: 6.782 MB / 453.4 MB, free: 5.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2896, allocations: 0 / 453.4 MB, free: 5.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2896, allocations: 0 / 453.4 MB, free: 5.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.059e-05/0.2897, allocations: 0 / 453.4 MB, free: 5.242 MB / 366.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.009393/0.2991, allocations: 4.447 MB / 457.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2991, allocations: 12.03 kB / 457.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004254/0.3034, allocations: 0.8436 MB / 458.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.3072, allocations: 2.495 MB / 461.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.3074, allocations: 238.6 kB / 461.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004542/0.3079, allocations: 315.8 kB / 461.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006562/0.3144, allocations: 4.258 MB / 466 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.57e-05/0.3145, allocations: 4 kB / 466 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/0.3148, allocations: 128 kB / 466.1 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/0.3149, allocations: 146.2 kB / 466.3 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005884/0.3208, allocations: 3.667 MB / 469.9 MB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/0.3392, allocations: 13.39 MB / 483.3 MB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006734/0.346, allocations: 6.889 MB / 490.2 MB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002316/0.3483, allocations: 1.41 MB / 491.6 MB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006241/0.3546, allocations: 3.876 MB / 495.5 MB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.3546, allocations: 47.56 kB / 495.5 MB, free: 9.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.685e-06/0.3546, allocations: 0 / 495.5 MB, free: 9.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01259/0.3672, allocations: 6.657 MB / 0.4904 GB, free: 2.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3673, allocations: 64.72 kB / 0.4905 GB, free: 2.535 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002601/0.3699, allocations: 1.888 MB / 0.4923 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.37, allocations: 49.7 kB / 0.4924 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009535/0.371, allocations: 1.451 MB / 0.4938 GB, free: 15.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/0.3714, allocations: 496.8 kB / 0.4943 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/0.3719, allocations: 307.3 kB / 0.4946 GB, free: 14.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.372, allocations: 301.1 kB / 0.4948 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.3732, allocations: 0.7613 MB / 0.4956 GB, free: 13.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.3746, allocations: 1.224 MB / 0.4968 GB, free: 11.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/0.3774, allocations: 2.108 MB / 0.4988 GB, free: 9.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.3774, allocations: 4 kB / 0.4988 GB, free: 9.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004448/0.3819, allocations: 2.675 MB / 0.5015 GB, free: 6.863 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.3819, allocations: 12.28 kB / 0.5015 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.3819, allocations: 16 kB / 0.5015 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.3833, allocations: 0.4978 MB / 0.502 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.3847, allocations: 383.4 kB / 0.5023 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008366/0.3931, allocations: 6.914 MB / 0.5091 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.3947, allocations: 79.8 kB / 0.5092 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.3949, allocations: 76.14 kB / 0.5092 GB, free: 14.61 MB / 446.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.001763/0.3966, allocations: 1.048 MB / 0.5103 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.397, allocations: 197.6 kB / 0.5105 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/0.4012, allocations: 2.508 MB / 0.5129 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4012, allocations: 15.94 kB / 0.5129 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.4012, allocations: 8 kB / 0.5129 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.4012, allocations: 7.969 kB / 0.5129 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00815/0.4094, allocations: 5.549 MB / 0.5184 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.4094, allocations: 4 kB / 0.5184 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.4104, allocations: 215.7 kB / 0.5186 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.4117, allocations: 0.4883 MB / 0.519 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.67e-05/0.4118, allocations: 32 kB / 0.5191 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.4221, allocations: 11.42 MB / 0.5302 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4222, allocations: 4.031 kB / 0.5302 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005417/0.4276, allocations: 3.57 MB / 0.5337 GB, free: 4.527 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008252/0.4284, allocations: 458.6 kB / 0.5342 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/0.4288, allocations: 28 kB / 0.5342 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009812/0.4297, allocations: 59.95 kB / 0.5342 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.43, allocations: 121.1 kB / 0.5344 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-05/0.4301, allocations: 47.92 kB / 0.5344 GB, free: 3.809 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002124/0.4322, allocations: 1.303 MB / 0.5357 GB, free: 2.516 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4323, allocations: 0 / 0.5357 GB, free: 2.516 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002023/0.4343, allocations: 0.5859 MB / 0.5362 GB, free: 1.93 MB / 462.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.0003164/0.4346, allocations: 179 kB / 0.5364 GB, free: 1.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2042/0.6388, allocations: 2.387 MB / 0.5387 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.6388, allocations: 1.125 kB / 0.5387 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003022/0.6419, allocations: 1.729 MB / 0.5404 GB, free: 124.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.6444, allocations: 0.5239 MB / 0.5409 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009232/0.6536, allocations: 5.971 MB / 0.5468 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.6553, allocations: 2.377 MB / 0.5491 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001396/0.6567, allocations: 423.4 kB / 0.5495 GB, free: 120.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.657, allocations: 127.5 kB / 0.5496 GB, free: 120.5 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.657, allocations: 4 kB / 0.5496 GB, free: 120.5 MB / 462.1 MB Notification: Performance of Templates: time 0.04389/0.7009, allocations: 31.83 MB / 0.5807 GB, free: 92.8 MB / 462.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