Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 47.92 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09993, allocations: 52.15 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01529/0.1152, allocations: 12.94 MB / 431.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008479/0.1237, allocations: 4.283 MB / 436.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.1256, allocations: 75.75 kB / 436.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.1284, allocations: 1.014 MB / 437.3 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00369/0.1321, allocations: 1.348 MB / 438.6 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.1339, allocations: 0.8417 MB / 439.5 MB, free: 7.508 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004858/0.1388, allocations: 4.011 MB / 443.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002845/0.1416, allocations: 2.249 MB / 445.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1967/0.3383, allocations: 1.894 MB / 447.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.3415, allocations: 2.146 MB / 449.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009089/0.3424, allocations: 0.5098 MB / 450.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.344, allocations: 0.7177 MB / 451 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009422/0.345, allocations: 1.143 MB / 452.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003229/0.3482, allocations: 2.131 MB / 454.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.359, allocations: 6.764 MB / 461 MB, free: 9.023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.359, allocations: 1.031 kB / 461 MB, free: 9.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.359, allocations: 0 / 461 MB, free: 9.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002761/0.3593, allocations: 0 / 461 MB, free: 9.023 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.01542/0.3747, allocations: 4.498 MB / 465.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3747, allocations: 7.969 kB / 465.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/0.3793, allocations: 0.8232 MB / 466.4 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004644/0.3839, allocations: 2.485 MB / 468.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.3841, allocations: 233.1 kB / 469.1 MB, free: 5.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005785/0.3847, allocations: 317 kB / 469.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008223/0.3929, allocations: 4.259 MB / 473.6 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.359e-05/0.393, allocations: 2.344 kB / 473.6 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003248/0.3933, allocations: 131.3 kB / 473.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.3934, allocations: 141.5 kB / 473.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006506/0.3999, allocations: 3.666 MB / 477.6 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02457/0.4245, allocations: 13.35 MB / 490.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006997/0.4315, allocations: 6.74 MB / 497.7 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.4338, allocations: 1.306 MB / 499 MB, free: 176 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006652/0.4404, allocations: 3.627 MB / 0.4908 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.4405, allocations: 47.56 kB / 0.4909 GB, free: 12.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 2.755e-06/0.4405, allocations: 0 / 0.4909 GB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01481/0.4553, allocations: 6.686 MB / 0.4974 GB, free: 6.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.4554, allocations: 68.72 kB / 0.4975 GB, free: 5.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.4584, allocations: 1.859 MB / 0.4993 GB, free: 4.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.4586, allocations: 49.7 kB / 0.4993 GB, free: 4.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.4597, allocations: 1.46 MB / 0.5008 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004724/0.4602, allocations: 0.5147 MB / 0.5013 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005139/0.4607, allocations: 307.5 kB / 0.5015 GB, free: 1.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4609, allocations: 301.1 kB / 0.5018 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.4622, allocations: 0.7535 MB / 0.5026 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.4638, allocations: 1.228 MB / 0.5038 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.4669, allocations: 2.108 MB / 0.5058 GB, free: 13.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.4669, allocations: 4 kB / 0.5058 GB, free: 13.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004807/0.4717, allocations: 2.653 MB / 0.5084 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.4717, allocations: 16.03 kB / 0.5084 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.4717, allocations: 19.94 kB / 0.5085 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.4732, allocations: 0.5021 MB / 0.5089 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.4747, allocations: 387.8 kB / 0.5093 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009606/0.4843, allocations: 6.932 MB / 0.5161 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.486, allocations: 71.95 kB / 0.5162 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.4861, allocations: 75.98 kB / 0.5162 GB, free: 2.238 MB / 414.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.002219/0.4884, allocations: 1.049 MB / 0.5173 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004723/0.4888, allocations: 206.7 kB / 0.5175 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004637/0.4935, allocations: 2.48 MB / 0.5199 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.4935, allocations: 16 kB / 0.5199 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.4935, allocations: 8 kB / 0.5199 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/0.4935, allocations: 11.91 kB / 0.5199 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009835/0.5033, allocations: 5.512 MB / 0.5253 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.5034, allocations: 3.844 kB / 0.5253 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.5044, allocations: 218.2 kB / 0.5255 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.5058, allocations: 0.4955 MB / 0.526 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.5059, allocations: 35.98 kB / 0.526 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/0.5177, allocations: 11.44 MB / 0.5372 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/0.5177, allocations: 7.359 kB / 0.5372 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006004/0.5237, allocations: 3.567 MB / 0.5407 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.5249, allocations: 463.7 kB / 0.5411 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.5251, allocations: 32 kB / 0.5412 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009319/0.5261, allocations: 67.94 kB / 0.5412 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.5263, allocations: 112.7 kB / 0.5413 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.5264, allocations: 43.98 kB / 0.5414 GB, free: 7.727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002056/0.5285, allocations: 1.282 MB / 0.5426 GB, free: 6.453 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5285, allocations: 0 / 0.5426 GB, free: 6.453 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002233/0.5307, allocations: 0.582 MB / 0.5432 GB, free: 5.871 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.0003485/0.5311, allocations: 172.1 kB / 0.5433 GB, free: 5.707 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004109/0.5352, allocations: 2.318 MB / 0.5456 GB, free: 3.418 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5352, allocations: 0 / 0.5456 GB, free: 3.418 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/0.5378, allocations: 1.665 MB / 0.5472 GB, free: 1.711 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.54, allocations: 0.52 MB / 0.5477 GB, free: 1.195 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.5509, allocations: 5.996 MB / 0.5536 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002282/0.5531, allocations: 2.315 MB / 0.5559 GB, free: 8.832 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006439/0.5538, allocations: 139.4 kB / 0.556 GB, free: 8.695 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5538, allocations: 0 / 0.556 GB, free: 8.695 MB / 462.1 MB Notification: Performance of Templates: time 0.3522/0.906, allocations: 97.94 MB / 0.6516 GB, free: 163.8 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.510030629113317]