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.001332/0.001332, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001429/0.001429, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.523/1.523, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.001768/0.001768, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2405, allocations: 53.37 MB / 432.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01558/0.2561, allocations: 11.84 MB / 444.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009054/0.2652, allocations: 4.303 MB / 448.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.2674, allocations: 95.44 kB / 448.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003175/0.2705, allocations: 0.9824 MB / 449.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004417/0.275, allocations: 1.297 MB / 450.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.2775, allocations: 0.8761 MB / 451.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005685/0.2832, allocations: 4.078 MB / 455.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002795/0.2859, allocations: 1.707 MB / 457.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.289, allocations: 1.959 MB / 459.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003799/0.2928, allocations: 2.152 MB / 461.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.2938, allocations: 0.5078 MB / 462.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.2955, allocations: 0.7146 MB / 462.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.2967, allocations: 1.141 MB / 464 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003048/0.2997, allocations: 1.688 MB / 465.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008362/0.3081, allocations: 6.833 MB / 472.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3081, allocations: 0 / 472.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.3081, allocations: 0 / 472.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001768/0.3083, allocations: 3.938 kB / 472.5 MB, free: 14.46 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.01282/0.3211, allocations: 4.447 MB / 477 MB, free: 9.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3212, allocations: 16.02 kB / 477 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/0.3258, allocations: 0.8456 MB / 477.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005654/0.3315, allocations: 2.436 MB / 480.3 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.3317, allocations: 242.6 kB / 480.5 MB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008233/0.3325, allocations: 315.9 kB / 480.8 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008812/0.3414, allocations: 4.412 MB / 485.2 MB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-05/0.3414, allocations: 3.953 kB / 485.2 MB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003695/0.3418, allocations: 136 kB / 485.4 MB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/0.342, allocations: 146.2 kB / 485.5 MB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007224/0.3492, allocations: 3.659 MB / 489.2 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02351/0.3727, allocations: 11.46 MB / 0.4889 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005594/0.3783, allocations: 2.589 MB / 0.4914 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/0.3808, allocations: 1.304 MB / 0.4927 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006699/0.3875, allocations: 3.045 MB / 0.4957 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.3876, allocations: 47.56 kB / 0.4957 GB, free: 10.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.436e-06/0.3876, allocations: 0 / 0.4957 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.0147/0.4023, allocations: 6.064 MB / 0.5016 GB, free: 4.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.4024, allocations: 68.72 kB / 0.5017 GB, free: 4.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/0.4057, allocations: 1.695 MB / 0.5034 GB, free: 3.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002477/0.4059, allocations: 49.7 kB / 0.5034 GB, free: 2.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.4071, allocations: 1.489 MB / 0.5049 GB, free: 1.484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006233/0.4077, allocations: 0.5151 MB / 0.5054 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006619/0.4084, allocations: 303.5 kB / 0.5056 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4085, allocations: 305.1 kB / 0.5059 GB, free: 372 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.41, allocations: 0.7614 MB / 0.5067 GB, free: 15.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.4118, allocations: 1.253 MB / 0.5079 GB, free: 14.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003347/0.4152, allocations: 2.111 MB / 0.51 GB, free: 11.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.4152, allocations: 8 kB / 0.51 GB, free: 11.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005109/0.4203, allocations: 2.645 MB / 0.5126 GB, free: 9.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.4203, allocations: 12 kB / 0.5126 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.4204, allocations: 15.94 kB / 0.5126 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.4219, allocations: 0.506 MB / 0.5131 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.4235, allocations: 387.4 kB / 0.5135 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00933/0.4328, allocations: 6.564 MB / 0.5199 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.4343, allocations: 79.91 kB / 0.5199 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.4345, allocations: 68 kB / 0.52 GB, free: 1.348 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.001964/0.4365, allocations: 1.059 MB / 0.521 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/0.437, allocations: 190.8 kB / 0.5212 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/0.4417, allocations: 2.332 MB / 0.5235 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.4417, allocations: 12 kB / 0.5235 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.4418, allocations: 8 kB / 0.5235 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.4418, allocations: 3.984 kB / 0.5235 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00933/0.4511, allocations: 4.62 MB / 0.528 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.4511, allocations: 4 kB / 0.528 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.4522, allocations: 215.7 kB / 0.5282 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.4536, allocations: 0.5024 MB / 0.5287 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.4537, allocations: 31.98 kB / 0.5288 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2228/0.6765, allocations: 10.66 MB / 0.5392 GB, free: 97.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6765, allocations: 5.969 kB / 0.5392 GB, free: 97.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005524/0.682, allocations: 3.403 MB / 0.5425 GB, free: 96.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.6831, allocations: 378.1 kB / 0.5429 GB, free: 96.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/0.6834, allocations: 30.48 kB / 0.5429 GB, free: 96.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008747/0.6842, allocations: 65.59 kB / 0.543 GB, free: 96.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/0.6846, allocations: 119.1 kB / 0.5431 GB, free: 96.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/0.6847, allocations: 39.58 kB / 0.5431 GB, free: 96.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00166/0.6863, allocations: 1.152 MB / 0.5442 GB, free: 95.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6863, allocations: 0 / 0.5442 GB, free: 95.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001878/0.6882, allocations: 0.5859 MB / 0.5448 GB, free: 95.79 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.0002946/0.6885, allocations: 164.6 kB / 0.545 GB, free: 95.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003536/0.692, allocations: 2.326 MB / 0.5472 GB, free: 94.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.692, allocations: 0 / 0.5472 GB, free: 94.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002113/0.6941, allocations: 1.661 MB / 0.5489 GB, free: 93.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.6961, allocations: 439.1 kB / 0.5493 GB, free: 93.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008791/0.7048, allocations: 6.007 MB / 0.5551 GB, free: 89.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.7064, allocations: 1.769 MB / 0.5569 GB, free: 88.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/0.7069, allocations: 135.1 kB / 0.557 GB, free: 88.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.7069, allocations: 0 / 0.557 GB, free: 88.11 MB / 446.1 MB Notification: Performance of Templates: time 0.07688/0.7838, allocations: 98.53 MB / 0.6532 GB, free: 6.551 MB / 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.813159354031086]