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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=30000,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=30000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 105.3 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 191.3 kB / 18.51 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 42.97 kB / 301.3 MB, free: 5.848 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.0948, allocations: 49.44 MB / 350.7 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0141/0.1089, allocations: 12.88 MB / 363.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007834/0.1168, allocations: 4.259 MB / 367.9 MB, free: 3.172 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.1188, allocations: 83.62 kB / 368 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.1217, allocations: 0.9708 MB / 368.9 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.1256, allocations: 1.299 MB / 370.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1569/0.2826, allocations: 0.8304 MB / 371.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005358/0.288, allocations: 3.992 MB / 375.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004119/0.2921, allocations: 3.246 MB / 378.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.2956, allocations: 1.877 MB / 380.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003732/0.2993, allocations: 2.11 MB / 382.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001731/0.3011, allocations: 0.5092 MB / 382.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.304, allocations: 0.7168 MB / 383.5 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.3056, allocations: 1.14 MB / 384.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004167/0.3098, allocations: 2.129 MB / 386.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00694/0.3167, allocations: 6.715 MB / 393.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3168, allocations: 0 / 393.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3168, allocations: 0 / 393.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001853/0.317, allocations: 1.188 kB / 393.5 MB, free: 4.141 MB / 302.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.01276/0.3298, allocations: 4.395 MB / 397.9 MB, free: 1.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3298, allocations: 12.33 kB / 397.9 MB, free: 1.195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/0.3345, allocations: 0.8137 MB / 398.7 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004827/0.3393, allocations: 2.406 MB / 401.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.3396, allocations: 233.5 kB / 401.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008223/0.3404, allocations: 312.4 kB / 401.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009073/0.3495, allocations: 4.26 MB / 405.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.384e-05/0.3496, allocations: 7.469 kB / 405.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003779/0.35, allocations: 131.1 kB / 406.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.3501, allocations: 146.2 kB / 406.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007376/0.3575, allocations: 3.658 MB / 409.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.3816, allocations: 13.49 MB / 423.3 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006861/0.3885, allocations: 6.868 MB / 430.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/0.3916, allocations: 1.423 MB / 431.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007334/0.399, allocations: 3.637 MB / 435.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.3991, allocations: 51.56 kB / 435.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 4.258e-06/0.3991, allocations: 0 / 435.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01512/0.4142, allocations: 6.644 MB / 442 MB, free: 5.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.4143, allocations: 68.72 kB / 442 MB, free: 5.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/0.4172, allocations: 1.855 MB / 443.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.4174, allocations: 53.7 kB / 443.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.4185, allocations: 1.419 MB / 445.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/0.4189, allocations: 0.4929 MB / 445.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004825/0.4194, allocations: 299.3 kB / 446.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4195, allocations: 305.1 kB / 446.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.4208, allocations: 0.7652 MB / 447.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.4225, allocations: 1.226 MB / 448.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/0.4255, allocations: 2.104 MB / 450.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.4255, allocations: 4 kB / 450.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005135/0.4306, allocations: 2.659 MB / 453.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.4307, allocations: 12.28 kB / 453.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/0.4307, allocations: 19.94 kB / 453.2 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.4322, allocations: 0.506 MB / 453.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.4339, allocations: 389.1 kB / 454.1 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008939/0.4428, allocations: 6.93 MB / 461 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.4446, allocations: 79.86 kB / 461.1 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.4448, allocations: 71.98 kB / 461.2 MB, free: 1.348 MB / 366.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.001824/0.4466, allocations: 1.048 MB / 462.2 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000417/0.447, allocations: 197.6 kB / 462.4 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004432/0.4515, allocations: 2.504 MB / 464.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.4515, allocations: 12 kB / 464.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.4515, allocations: 8 kB / 465 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.4515, allocations: 7.922 kB / 465 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009355/0.4609, allocations: 5.525 MB / 470.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.461, allocations: 0 / 470.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.4621, allocations: 227.7 kB / 470.7 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.4635, allocations: 0.5025 MB / 471.2 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.4637, allocations: 35.92 kB / 471.2 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/0.475, allocations: 11.43 MB / 482.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4751, allocations: 3.938 kB / 482.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006029/0.4811, allocations: 3.568 MB / 486.2 MB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.4822, allocations: 455 kB / 486.7 MB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003461/0.4826, allocations: 28 kB / 486.7 MB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.4837, allocations: 63.95 kB / 486.8 MB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.484, allocations: 121 kB / 486.9 MB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.807e-05/0.4841, allocations: 43.94 kB / 486.9 MB, free: 6.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00209/0.4862, allocations: 1.282 MB / 488.2 MB, free: 5.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4862, allocations: 0 / 488.2 MB, free: 5.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002593/0.4888, allocations: 0.5859 MB / 488.8 MB, free: 4.754 MB / 398.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.0003926/0.4892, allocations: 171.5 kB / 489 MB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006036/0.4952, allocations: 2.837 MB / 491.8 MB, free: 1.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4953, allocations: 4.188 kB / 491.8 MB, free: 1.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00273/0.498, allocations: 1.727 MB / 493.5 MB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.5006, allocations: 0.5147 MB / 494.1 MB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.5109, allocations: 5.982 MB / 0.4883 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/0.5131, allocations: 2.312 MB / 0.4906 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006054/0.5137, allocations: 143.4 kB / 0.4907 GB, free: 6.906 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5137, allocations: 0 / 0.4907 GB, free: 6.906 MB / 414.1 MB Notification: Performance of Templates: time 0.2516/0.7653, allocations: 97.4 MB / 0.5858 GB, free: 109.5 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches