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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.001369, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 378.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2388, allocations: 53.36 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01731/0.2561, allocations: 13.63 MB / 445.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009376/0.2655, allocations: 4.565 MB / 450.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.2675, allocations: 99.44 kB / 450.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.2706, allocations: 1.037 MB / 451.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004183/0.2748, allocations: 1.328 MB / 452.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.2774, allocations: 0.906 MB / 453.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006032/0.2834, allocations: 4.096 MB / 457.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00325/0.2866, allocations: 1.784 MB / 459.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.2898, allocations: 1.947 MB / 461.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003948/0.2937, allocations: 2.281 MB / 463.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.2949, allocations: 0.5078 MB / 464.3 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.2969, allocations: 0.738 MB / 465.1 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001471/0.2984, allocations: 1.141 MB / 466.2 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003425/0.3018, allocations: 2.143 MB / 468.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008408/0.3102, allocations: 6.805 MB / 475.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3102, allocations: 0 / 475.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3102, allocations: 0 / 475.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002151/0.3105, allocations: 0 / 475.1 MB, free: 11.87 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.01242/0.3229, allocations: 4.459 MB / 479.6 MB, free: 7.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3229, allocations: 8.031 kB / 479.6 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.3278, allocations: 0.8456 MB / 480.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005068/0.3328, allocations: 2.455 MB / 482.9 MB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.3331, allocations: 238.6 kB / 483.1 MB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005846/0.3336, allocations: 315.9 kB / 483.5 MB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007962/0.3416, allocations: 4.269 MB / 487.7 MB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.117e-05/0.3417, allocations: 3.953 kB / 487.7 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00034/0.342, allocations: 128 kB / 487.9 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/0.3422, allocations: 146.2 kB / 488 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006377/0.3486, allocations: 3.667 MB / 491.7 MB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02103/0.3696, allocations: 13.12 MB / 0.4929 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005414/0.375, allocations: 2.608 MB / 0.4955 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002382/0.3774, allocations: 1.3 MB / 0.4968 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006267/0.3837, allocations: 3.418 MB / 0.5001 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.3837, allocations: 47.56 kB / 0.5001 GB, free: 6.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.655e-06/0.3837, allocations: 4 kB / 0.5002 GB, free: 6.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01423/0.3979, allocations: 6.094 MB / 0.5061 GB, free: 296 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.398, allocations: 64.72 kB / 0.5062 GB, free: 220 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/0.4011, allocations: 1.896 MB / 0.508 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.4012, allocations: 45.7 kB / 0.5081 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.4024, allocations: 1.475 MB / 0.5095 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004727/0.4029, allocations: 0.519 MB / 0.51 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005293/0.4034, allocations: 303.5 kB / 0.5103 GB, free: 11.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4035, allocations: 301.1 kB / 0.5106 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.4049, allocations: 0.7613 MB / 0.5113 GB, free: 10.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.4066, allocations: 1.232 MB / 0.5125 GB, free: 9.473 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/0.4099, allocations: 2.108 MB / 0.5146 GB, free: 7.176 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.4099, allocations: 4 kB / 0.5146 GB, free: 7.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005019/0.4149, allocations: 2.664 MB / 0.5172 GB, free: 4.492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.415, allocations: 12 kB / 0.5172 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.415, allocations: 12 kB / 0.5172 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.4165, allocations: 0.5056 MB / 0.5177 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.418, allocations: 387.4 kB / 0.5181 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009747/0.4278, allocations: 6.718 MB / 0.5246 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.4293, allocations: 84 kB / 0.5247 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002191/0.4295, allocations: 72 kB / 0.5248 GB, free: 12.48 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.002318/0.4318, allocations: 1.055 MB / 0.5258 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006125/0.4324, allocations: 210.6 kB / 0.526 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005115/0.4376, allocations: 2.334 MB / 0.5283 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.4376, allocations: 19.94 kB / 0.5283 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/0.4376, allocations: 8 kB / 0.5283 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.4376, allocations: 11.91 kB / 0.5283 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.4489, allocations: 5.351 MB / 0.5336 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4489, allocations: 8.031 kB / 0.5336 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.45, allocations: 215.7 kB / 0.5338 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/0.4515, allocations: 0.4998 MB / 0.5343 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.4516, allocations: 35.98 kB / 0.5343 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2246/0.6762, allocations: 10.9 MB / 0.5449 GB, free: 92.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6762, allocations: 7 kB / 0.545 GB, free: 92.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005378/0.6815, allocations: 3.406 MB / 0.5483 GB, free: 91.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.6826, allocations: 396.9 kB / 0.5487 GB, free: 91.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/0.6829, allocations: 30.86 kB / 0.5487 GB, free: 91.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009471/0.6838, allocations: 74.27 kB / 0.5488 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.6841, allocations: 113.9 kB / 0.5489 GB, free: 91.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.6842, allocations: 43.64 kB / 0.5489 GB, free: 91.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00162/0.6858, allocations: 1.302 MB / 0.5502 GB, free: 90.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6858, allocations: 3.562 kB / 0.5502 GB, free: 90.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001811/0.6876, allocations: 0.5958 MB / 0.5508 GB, free: 90.46 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.0002805/0.6879, allocations: 169.3 kB / 0.5509 GB, free: 90.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003384/0.6913, allocations: 2.311 MB / 0.5532 GB, free: 89.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6913, allocations: 3.438 kB / 0.5532 GB, free: 89.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.6933, allocations: 1.669 MB / 0.5548 GB, free: 88.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.6954, allocations: 0.5331 MB / 0.5553 GB, free: 88.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007634/0.703, allocations: 6.059 MB / 0.5613 GB, free: 84.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/0.7045, allocations: 2.382 MB / 0.5636 GB, free: 82.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001066/0.7055, allocations: 417.3 kB / 0.564 GB, free: 82.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.7058, allocations: 129 kB / 0.5641 GB, free: 82.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7058, allocations: 4 kB / 0.5641 GB, free: 82.52 MB / 446.1 MB Notification: Performance of Templates: time 0.04476/0.7506, allocations: 33.41 MB / 0.5967 GB, free: 49.7 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.262707860209048]