Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 209.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.658/1.658, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 51.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2306, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0159/0.2465, allocations: 11.84 MB / 443.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009105/0.2556, allocations: 4.291 MB / 447.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.2574, allocations: 99.38 kB / 447.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.2598, allocations: 0.9902 MB / 448.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.2633, allocations: 1.301 MB / 450.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.2652, allocations: 0.8791 MB / 451 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004781/0.27, allocations: 4.084 MB / 455.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/0.2725, allocations: 1.788 MB / 456.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.2753, allocations: 1.963 MB / 458.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003288/0.2786, allocations: 2.262 MB / 461.1 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007519/0.2793, allocations: 0.5117 MB / 461.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.2808, allocations: 0.7185 MB / 462.3 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.2819, allocations: 1.145 MB / 463.5 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.2838, allocations: 1.688 MB / 465.1 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00724/0.2911, allocations: 6.833 MB / 472 MB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2911, allocations: 0 / 472 MB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.2911, allocations: 0 / 472 MB, free: 14.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001148/0.2912, allocations: 0 / 472 MB, free: 14.12 MB / 382.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.01119/0.3024, allocations: 4.447 MB / 476.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3024, allocations: 8.031 kB / 476.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004536/0.307, allocations: 0.8456 MB / 477.3 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004865/0.3119, allocations: 2.44 MB / 479.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.312, allocations: 234.6 kB / 480 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005181/0.3126, allocations: 323.9 kB / 480.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007835/0.3204, allocations: 4.412 MB / 484.7 MB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.351e-05/0.3205, allocations: 7.891 kB / 484.7 MB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/0.3208, allocations: 132 kB / 484.8 MB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.321, allocations: 150.2 kB / 485 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006328/0.3273, allocations: 3.659 MB / 488.6 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02044/0.3477, allocations: 11.45 MB / 0.4884 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005182/0.3529, allocations: 2.589 MB / 0.4909 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002358/0.3553, allocations: 1.308 MB / 0.4922 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006601/0.3619, allocations: 3.045 MB / 0.4951 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.3619, allocations: 51.56 kB / 0.4952 GB, free: 10.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.427e-06/0.3619, allocations: 0 / 0.4952 GB, free: 10.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01339/0.3753, allocations: 6.056 MB / 0.5011 GB, free: 4.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3753, allocations: 68.72 kB / 0.5012 GB, free: 4.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.3778, allocations: 1.691 MB / 0.5028 GB, free: 2.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.3779, allocations: 49.7 kB / 0.5029 GB, free: 2.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.3791, allocations: 1.497 MB / 0.5043 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/0.3795, allocations: 0.5112 MB / 0.5048 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/0.38, allocations: 307.5 kB / 0.5051 GB, free: 332 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3801, allocations: 305.1 kB / 0.5054 GB, free: 24 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.3814, allocations: 0.7691 MB / 0.5062 GB, free: 15.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.383, allocations: 1.249 MB / 0.5074 GB, free: 13.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.3861, allocations: 2.104 MB / 0.5094 GB, free: 11.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.3861, allocations: 4 kB / 0.5094 GB, free: 11.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005127/0.3912, allocations: 2.649 MB / 0.512 GB, free: 8.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.3913, allocations: 12.28 kB / 0.512 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/0.3913, allocations: 23.94 kB / 0.5121 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.3928, allocations: 0.5021 MB / 0.5125 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.3942, allocations: 379.4 kB / 0.5129 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008922/0.4032, allocations: 6.564 MB / 0.5193 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.4045, allocations: 80.08 kB / 0.5194 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.4047, allocations: 67.98 kB / 0.5195 GB, free: 1.016 MB / 430.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.001865/0.4065, allocations: 1.059 MB / 0.5205 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.4068, allocations: 190.8 kB / 0.5207 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/0.411, allocations: 2.324 MB / 0.5229 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.411, allocations: 16 kB / 0.523 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.411, allocations: 4 kB / 0.523 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.4111, allocations: 11.97 kB / 0.523 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008281/0.4193, allocations: 4.62 MB / 0.5275 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4194, allocations: 0 / 0.5275 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009965/0.4203, allocations: 215.7 kB / 0.5277 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.4217, allocations: 0.5067 MB / 0.5282 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.4218, allocations: 43.81 kB / 0.5282 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2169/0.6387, allocations: 10.66 MB / 0.5386 GB, free: 97.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6387, allocations: 4.297 kB / 0.5386 GB, free: 97.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005419/0.6441, allocations: 3.399 MB / 0.542 GB, free: 96.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.6452, allocations: 372.3 kB / 0.5423 GB, free: 95.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.6454, allocations: 28.77 kB / 0.5423 GB, free: 95.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008939/0.6463, allocations: 67.52 kB / 0.5424 GB, free: 95.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003605/0.6467, allocations: 124.4 kB / 0.5425 GB, free: 95.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.885e-05/0.6468, allocations: 42.97 kB / 0.5426 GB, free: 95.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001705/0.6485, allocations: 1.15 MB / 0.5437 GB, free: 95.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6485, allocations: 0 / 0.5437 GB, free: 95.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001859/0.6503, allocations: 0.5916 MB / 0.5443 GB, free: 95.38 MB / 446.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.0002885/0.6506, allocations: 161.3 kB / 0.5444 GB, free: 95.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003431/0.6541, allocations: 2.328 MB / 0.5467 GB, free: 94.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6541, allocations: 0 / 0.5467 GB, free: 94.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002046/0.6561, allocations: 1.658 MB / 0.5483 GB, free: 93.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.6579, allocations: 438.1 kB / 0.5487 GB, free: 93.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008123/0.6661, allocations: 6.031 MB / 0.5546 GB, free: 89.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/0.6675, allocations: 1.825 MB / 0.5564 GB, free: 87.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.6686, allocations: 390.7 kB / 0.5568 GB, free: 87.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.6689, allocations: 127.6 kB / 0.5569 GB, free: 87.28 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6689, allocations: 0 / 0.5569 GB, free: 87.28 MB / 446.1 MB Notification: Performance of Templates: time 0.04373/0.7126, allocations: 33.45 MB / 0.5896 GB, free: 55.11 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.325188603717834]