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.001469/0.001469, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00166/0.00166, allocations: 216.4 kB / 24.48 MB, free: 3.941 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.593/1.593, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.00156/0.00156, allocations: 55.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3461, allocations: 53.37 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01767/0.3637, allocations: 11.83 MB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.3763, allocations: 4.295 MB / 448.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004154/0.3804, allocations: 99.44 kB / 448.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00445/0.3849, allocations: 0.9747 MB / 449.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00697/0.3919, allocations: 1.317 MB / 450.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.3957, allocations: 0.8758 MB / 451.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008541/0.4042, allocations: 4.081 MB / 455.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003731/0.408, allocations: 1.781 MB / 457.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005052/0.413, allocations: 1.959 MB / 459.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005881/0.4189, allocations: 2.265 MB / 461.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001657/0.4205, allocations: 0.5078 MB / 462.3 MB, free: 8.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.4235, allocations: 0.7224 MB / 463.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.4251, allocations: 1.141 MB / 464.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004205/0.4293, allocations: 1.688 MB / 465.9 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.4409, allocations: 6.84 MB / 472.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/0.4409, allocations: 3.938 kB / 472.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.4409, allocations: 3.938 kB / 472.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003343/0.4412, allocations: 0 / 472.7 MB, free: 14.1 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.01889/0.4601, allocations: 4.447 MB / 477.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.61e-05/0.4602, allocations: 12.03 kB / 477.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005722/0.4659, allocations: 0.8417 MB / 478 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006952/0.4729, allocations: 2.436 MB / 480.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.4731, allocations: 246.6 kB / 480.7 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009813/0.4741, allocations: 311.9 kB / 481 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009165/0.4833, allocations: 4.416 MB / 485.4 MB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.103e-05/0.4834, allocations: 7.938 kB / 485.4 MB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/0.4837, allocations: 131.9 kB / 485.6 MB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.4839, allocations: 146.2 kB / 485.7 MB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007272/0.4911, allocations: 3.659 MB / 489.4 MB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02428/0.5154, allocations: 11.46 MB / 0.4891 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005409/0.5208, allocations: 2.596 MB / 0.4916 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002486/0.5233, allocations: 1.292 MB / 0.4929 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007264/0.5306, allocations: 3.045 MB / 0.4959 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.5306, allocations: 43.56 kB / 0.4959 GB, free: 10.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.847e-06/0.5306, allocations: 0 / 0.4959 GB, free: 10.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.0151/0.5457, allocations: 6.064 MB / 0.5018 GB, free: 4.469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.5458, allocations: 72.7 kB / 0.5019 GB, free: 4.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/0.5487, allocations: 1.687 MB / 0.5035 GB, free: 2.691 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.5489, allocations: 53.7 kB / 0.5036 GB, free: 2.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.5501, allocations: 1.493 MB / 0.5051 GB, free: 1.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005535/0.5507, allocations: 0.5151 MB / 0.5056 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005275/0.5512, allocations: 303.5 kB / 0.5058 GB, free: 312 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5514, allocations: 313.1 kB / 0.5061 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.5527, allocations: 0.7613 MB / 0.5069 GB, free: 15.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.5544, allocations: 1.249 MB / 0.5081 GB, free: 13.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/0.5575, allocations: 2.108 MB / 0.5102 GB, free: 11.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.5575, allocations: 4 kB / 0.5102 GB, free: 11.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005174/0.5627, allocations: 2.653 MB / 0.5128 GB, free: 8.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.5627, allocations: 8 kB / 0.5128 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/0.5628, allocations: 19.94 kB / 0.5128 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.5642, allocations: 0.4984 MB / 0.5133 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.5658, allocations: 387.4 kB / 0.5136 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009207/0.575, allocations: 6.568 MB / 0.5201 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.5767, allocations: 75.92 kB / 0.5201 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.5768, allocations: 76.14 kB / 0.5202 GB, free: 0.9844 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.002286/0.5791, allocations: 1.059 MB / 0.5212 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/0.5795, allocations: 186.8 kB / 0.5214 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/0.5839, allocations: 2.324 MB / 0.5237 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.5839, allocations: 12 kB / 0.5237 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.5839, allocations: 12 kB / 0.5237 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.5839, allocations: 7.969 kB / 0.5237 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008714/0.5926, allocations: 4.616 MB / 0.5282 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.5926, allocations: 8.188 kB / 0.5282 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.5937, allocations: 219.7 kB / 0.5284 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/0.5951, allocations: 0.4987 MB / 0.5289 GB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.5952, allocations: 31.98 kB / 0.529 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2927/0.8879, allocations: 10.66 MB / 0.5394 GB, free: 97.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.8879, allocations: 2.25 kB / 0.5394 GB, free: 97.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006976/0.8948, allocations: 3.402 MB / 0.5427 GB, free: 96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/0.8963, allocations: 379.1 kB / 0.5431 GB, free: 95.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/0.8966, allocations: 32.39 kB / 0.5431 GB, free: 95.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.8976, allocations: 63.95 kB / 0.5432 GB, free: 95.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004413/0.898, allocations: 121.3 kB / 0.5433 GB, free: 95.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.8981, allocations: 44.66 kB / 0.5433 GB, free: 95.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002059/0.9002, allocations: 1.148 MB / 0.5444 GB, free: 95.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9002, allocations: 1.125 kB / 0.5444 GB, free: 95.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002553/0.9027, allocations: 0.588 MB / 0.545 GB, free: 95.31 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.0003821/0.9031, allocations: 167.1 kB / 0.5452 GB, free: 95.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004227/0.9073, allocations: 2.321 MB / 0.5474 GB, free: 94.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9074, allocations: 3.906 kB / 0.5474 GB, free: 94.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.9097, allocations: 1.658 MB / 0.5491 GB, free: 93.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.9118, allocations: 430.4 kB / 0.5495 GB, free: 93.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.9219, allocations: 6.041 MB / 0.5554 GB, free: 89.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.9236, allocations: 1.823 MB / 0.5571 GB, free: 87.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001358/0.925, allocations: 401.7 kB / 0.5575 GB, free: 87.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.9253, allocations: 122.2 kB / 0.5576 GB, free: 87.24 MB / 446.1 MB Notification: Performance of SimCode: time 1.773e-06/0.9253, allocations: 0 / 0.5576 GB, free: 87.24 MB / 446.1 MB Notification: Performance of Templates: time 0.05499/0.9803, allocations: 33.46 MB / 0.5903 GB, free: 55.05 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 -s cvode -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/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_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: 7.176115269001457]