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.001385/0.001385, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001472/0.001472, allocations: 187.5 kB / 23.7 MB, free: 4.188 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.426/1.426, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.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.001589/0.001589, allocations: 51.92 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2297, allocations: 52.19 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01545/0.2451, allocations: 11.29 MB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008644/0.2538, allocations: 4.045 MB / 438.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.2559, allocations: 87.5 kB / 438.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003156/0.259, allocations: 0.9705 MB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004704/0.2637, allocations: 1.336 MB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.2666, allocations: 0.8153 MB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006574/0.2731, allocations: 4.024 MB / 445.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003478/0.2766, allocations: 1.703 MB / 447.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.2798, allocations: 1.939 MB / 449.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003949/0.2838, allocations: 2.027 MB / 451.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.2849, allocations: 0.5078 MB / 451.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.2868, allocations: 0.695 MB / 452.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.2883, allocations: 1.137 MB / 453.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002954/0.2913, allocations: 1.684 MB / 455.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008097/0.2994, allocations: 6.798 MB / 462.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2994, allocations: 0 / 462.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2994, allocations: 0 / 462.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001419/0.2995, allocations: 4 kB / 462.1 MB, free: 7.227 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.01121/0.3108, allocations: 4.404 MB / 466.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3108, allocations: 8.031 kB / 466.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004216/0.315, allocations: 0.8339 MB / 467.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005218/0.3202, allocations: 2.4 MB / 469.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.3204, allocations: 234.6 kB / 470 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/0.321, allocations: 316 kB / 470.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007834/0.3288, allocations: 4.408 MB / 474.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-05/0.3289, allocations: 3.953 kB / 474.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.3292, allocations: 132 kB / 474.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/0.3294, allocations: 146.2 kB / 475 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006766/0.3361, allocations: 3.659 MB / 478.7 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02283/0.359, allocations: 11.45 MB / 490.1 MB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005237/0.3642, allocations: 2.568 MB / 492.7 MB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002392/0.3666, allocations: 1.301 MB / 494 MB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005941/0.3725, allocations: 3.007 MB / 497 MB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.3726, allocations: 47.56 kB / 497 MB, free: 3.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 3.316e-06/0.3726, allocations: 4 kB / 497 MB, free: 3.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01378/0.3864, allocations: 6.056 MB / 0.4913 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.3864, allocations: 64.72 kB / 0.4914 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.389, allocations: 1.666 MB / 0.493 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.3891, allocations: 53.7 kB / 0.4931 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.3903, allocations: 1.469 MB / 0.4945 GB, free: 10.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/0.3908, allocations: 0.5152 MB / 0.495 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005028/0.3913, allocations: 303.5 kB / 0.4953 GB, free: 9.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3915, allocations: 301.1 kB / 0.4956 GB, free: 9.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.3928, allocations: 0.7652 MB / 0.4963 GB, free: 8.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.3945, allocations: 1.249 MB / 0.4975 GB, free: 7.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/0.3977, allocations: 2.108 MB / 0.4996 GB, free: 4.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.3977, allocations: 4 kB / 0.4996 GB, free: 4.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004793/0.4025, allocations: 2.637 MB / 0.5022 GB, free: 2.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.4026, allocations: 16.06 kB / 0.5022 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.4026, allocations: 12 kB / 0.5022 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.404, allocations: 0.5059 MB / 0.5027 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.4055, allocations: 387.4 kB / 0.5031 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009562/0.4151, allocations: 6.558 MB / 0.5095 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.4168, allocations: 79.91 kB / 0.5095 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.4169, allocations: 71.94 kB / 0.5096 GB, free: 10.37 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.001884/0.4188, allocations: 1.055 MB / 0.5106 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.4192, allocations: 182.8 kB / 0.5108 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004595/0.4238, allocations: 2.317 MB / 0.5131 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.4238, allocations: 20 kB / 0.5131 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.4238, allocations: 11.94 kB / 0.5131 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.4238, allocations: 11.97 kB / 0.5131 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00865/0.4325, allocations: 4.604 MB / 0.5176 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4325, allocations: 8.031 kB / 0.5176 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.4335, allocations: 219.7 kB / 0.5178 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.4349, allocations: 0.4948 MB / 0.5183 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.435, allocations: 32 kB / 0.5183 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/0.4471, allocations: 10.69 MB / 0.5288 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.4471, allocations: 7.969 kB / 0.5288 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006476/0.4536, allocations: 3.381 MB / 0.5321 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/0.455, allocations: 366.8 kB / 0.5324 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.4553, allocations: 35.92 kB / 0.5325 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009204/0.4562, allocations: 71.89 kB / 0.5325 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/0.4565, allocations: 113.1 kB / 0.5327 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/0.4566, allocations: 40 kB / 0.5327 GB, free: 2.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001767/0.4584, allocations: 1.132 MB / 0.5338 GB, free: 0.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4584, allocations: 0 / 0.5338 GB, free: 0.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002106/0.4605, allocations: 0.582 MB / 0.5344 GB, free: 344 kB / 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.0003425/0.4608, allocations: 164.9 kB / 0.5345 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1775/0.6383, allocations: 2.314 MB / 0.5368 GB, free: 108.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6383, allocations: 1.406 kB / 0.5368 GB, free: 108.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.6406, allocations: 1.656 MB / 0.5384 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.6428, allocations: 421.3 kB / 0.5388 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008054/0.6508, allocations: 6.028 MB / 0.5447 GB, free: 104.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/0.6523, allocations: 1.81 MB / 0.5465 GB, free: 104 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.6534, allocations: 393.8 kB / 0.5468 GB, free: 103.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.6537, allocations: 121.5 kB / 0.5469 GB, free: 103.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6537, allocations: 0 / 0.5469 GB, free: 103.9 MB / 446.1 MB Notification: Performance of Templates: time 0.04126/0.6949, allocations: 32.29 MB / 0.5785 GB, free: 73.27 MB / 446.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.066288284957409]