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.001532/0.001532, allocations: 108.2 kB / 21.19 MB, free: 0.6094 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.001707/0.001707, allocations: 216.4 kB / 24.5 MB, free: 3.953 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.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.001592/0.001592, allocations: 51.92 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2323, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01577/0.248, allocations: 13.63 MB / 446 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008645/0.2567, allocations: 4.567 MB / 450.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.2586, allocations: 99.44 kB / 450.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002904/0.2615, allocations: 1.037 MB / 451.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004219/0.2657, allocations: 1.324 MB / 453.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.2681, allocations: 0.9112 MB / 454 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005639/0.2737, allocations: 4.086 MB / 458.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.2765, allocations: 1.785 MB / 459.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.2794, allocations: 1.951 MB / 461.8 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003875/0.2833, allocations: 2.273 MB / 464.1 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.2844, allocations: 0.5117 MB / 464.6 MB, free: 6.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.2862, allocations: 0.7341 MB / 465.3 MB, free: 5.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.2873, allocations: 1.145 MB / 466.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.2904, allocations: 2.139 MB / 468.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008344/0.2988, allocations: 6.815 MB / 475.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2988, allocations: 0 / 475.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2988, allocations: 0 / 475.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001867/0.299, allocations: 0 / 475.4 MB, free: 11.72 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.3114, allocations: 4.459 MB / 479.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3114, allocations: 8.031 kB / 479.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004473/0.3159, allocations: 0.8456 MB / 480.7 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/0.3213, allocations: 2.459 MB / 483.2 MB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.3215, allocations: 234.6 kB / 483.4 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007527/0.3223, allocations: 311.9 kB / 483.7 MB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007604/0.3299, allocations: 4.266 MB / 488 MB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.584e-05/0.33, allocations: 7.953 kB / 488 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/0.3303, allocations: 132 kB / 488.1 MB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.3304, allocations: 146.2 kB / 488.3 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006753/0.3372, allocations: 3.663 MB / 491.9 MB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02456/0.3617, allocations: 13.12 MB / 0.4932 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005262/0.367, allocations: 2.608 MB / 0.4958 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002407/0.3694, allocations: 1.304 MB / 0.497 GB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006826/0.3762, allocations: 3.422 MB / 0.5004 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.3762, allocations: 43.56 kB / 0.5004 GB, free: 6.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.697e-06/0.3763, allocations: 0 / 0.5004 GB, free: 6.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01374/0.39, allocations: 6.083 MB / 0.5064 GB, free: 148 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.39, allocations: 68.72 kB / 0.5064 GB, free: 68 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/0.3934, allocations: 1.888 MB / 0.5083 GB, free: 14.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.3935, allocations: 53.7 kB / 0.5083 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.3947, allocations: 1.478 MB / 0.5098 GB, free: 12.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005212/0.3952, allocations: 0.5073 MB / 0.5103 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005559/0.3958, allocations: 307.5 kB / 0.5106 GB, free: 11.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3959, allocations: 305.1 kB / 0.5108 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.3972, allocations: 0.7652 MB / 0.5116 GB, free: 10.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.3989, allocations: 1.228 MB / 0.5128 GB, free: 9.324 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.4019, allocations: 2.104 MB / 0.5148 GB, free: 7.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.4019, allocations: 4 kB / 0.5148 GB, free: 7.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004848/0.4068, allocations: 2.672 MB / 0.5175 GB, free: 4.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.4068, allocations: 12 kB / 0.5175 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.4068, allocations: 16 kB / 0.5175 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.4082, allocations: 0.5062 MB / 0.518 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.4097, allocations: 379.4 kB / 0.5183 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009/0.4187, allocations: 6.723 MB / 0.5249 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.4202, allocations: 87.84 kB / 0.525 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.4204, allocations: 75.92 kB / 0.5251 GB, free: 12.32 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.001893/0.4223, allocations: 1.048 MB / 0.5261 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005038/0.4228, allocations: 210.8 kB / 0.5263 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/0.4272, allocations: 2.342 MB / 0.5286 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.4273, allocations: 15.94 kB / 0.5286 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.4273, allocations: 8 kB / 0.5286 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.4273, allocations: 7.984 kB / 0.5286 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00943/0.4367, allocations: 5.347 MB / 0.5338 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.4367, allocations: 3.938 kB / 0.5338 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.4377, allocations: 219.7 kB / 0.534 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.439, allocations: 0.4987 MB / 0.5345 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.4391, allocations: 35.98 kB / 0.5346 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2031/0.6422, allocations: 10.9 MB / 0.5452 GB, free: 92.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.6422, allocations: 9.219 kB / 0.5452 GB, free: 92.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005603/0.6478, allocations: 3.414 MB / 0.5485 GB, free: 91.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009669/0.6488, allocations: 401.3 kB / 0.5489 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.6491, allocations: 29.19 kB / 0.549 GB, free: 91.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008764/0.6499, allocations: 65.44 kB / 0.549 GB, free: 91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.6502, allocations: 122.2 kB / 0.5491 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.031e-05/0.6503, allocations: 40.77 kB / 0.5492 GB, free: 90.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001591/0.6519, allocations: 1.308 MB / 0.5505 GB, free: 90.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6519, allocations: 0 / 0.5505 GB, free: 90.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001753/0.6536, allocations: 0.588 MB / 0.551 GB, free: 90.41 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.0002755/0.6539, allocations: 175.9 kB / 0.5512 GB, free: 90.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003246/0.6572, allocations: 2.308 MB / 0.5534 GB, free: 89.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6572, allocations: 0 / 0.5534 GB, free: 89.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002054/0.6592, allocations: 1.669 MB / 0.5551 GB, free: 88.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.6613, allocations: 0.5353 MB / 0.5556 GB, free: 88.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008272/0.6696, allocations: 6.034 MB / 0.5615 GB, free: 84.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.671, allocations: 2.322 MB / 0.5638 GB, free: 82.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.6715, allocations: 150.5 kB / 0.5639 GB, free: 82.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6715, allocations: 5.422 kB / 0.5639 GB, free: 82.7 MB / 446.1 MB Notification: Performance of Templates: time 0.0794/0.7509, allocations: 99.08 MB / 0.6607 GB, free: 68 kB / 462.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/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: 12.827039757044986]