Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9943/0.9943, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.615e-05, allocations: 2.312 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1686/0.1686, allocations: 33.03 MB / 306 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01856/0.1872, allocations: 9.183 MB / 315.2 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008081/0.1953, allocations: 289.5 kB / 315.5 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01132/0.2066, allocations: 8.504 MB / 324 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01136/0.218, allocations: 3.848 MB / 327.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005357/0.2233, allocations: 2.174 MB / 330 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01533/0.2386, allocations: 13.76 MB / 343.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0197/0.2583, allocations: 14.79 MB / 358.5 MB, free: 13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01491/0.2732, allocations: 9.949 MB / 368.5 MB, free: 3.039 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.2836, allocations: 6.908 MB / 375.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004692/0.2883, allocations: 1.875 MB / 377.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007213/0.2955, allocations: 2.276 MB / 379.5 MB, free: 7.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004799/0.3003, allocations: 3.888 MB / 383.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00997/0.3103, allocations: 4.854 MB / 388.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01836/0.3286, allocations: 11.85 MB / 400.1 MB, free: 3.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3286, allocations: 0 / 400.1 MB, free: 3.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3286, allocations: 0 / 400.1 MB, free: 3.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006215/0.3293, allocations: 0 / 400.1 MB, free: 3.316 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.0298/0.3591, allocations: 15.55 MB / 415.7 MB, free: 3.641 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.3591, allocations: 19.98 kB / 415.7 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02411/0.3832, allocations: 8.609 MB / 424.3 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.3956, allocations: 7.824 MB / 432.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004688/0.3961, allocations: 0.7946 MB / 432.9 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/0.3977, allocations: 1.043 MB / 434 MB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.183/0.5807, allocations: 9.307 MB / 443.3 MB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003474/0.581, allocations: 14.55 kB / 443.3 MB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001151/0.5822, allocations: 441.6 kB / 443.7 MB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008274/0.583, allocations: 0.63 MB / 444.4 MB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/0.5982, allocations: 5.228 MB / 449.6 MB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05064/0.6488, allocations: 43.42 MB / 493 MB, free: 53.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009671/0.6585, allocations: 9.225 MB / 0.4905 GB, free: 45.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002377/0.6609, allocations: 1.963 MB / 0.4924 GB, free: 43.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0135/0.6744, allocations: 6.842 MB / 0.4991 GB, free: 37.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.6744, allocations: 80.64 kB / 0.4991 GB, free: 37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=398): time 7.043e-06/0.6744, allocations: 0 / 0.4991 GB, free: 37 MB / 378.7 MB Notification: Performance of matching and sorting (n=423): time 0.02502/0.6995, allocations: 13.69 MB / 0.5125 GB, free: 23.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.6995, allocations: 120.7 kB / 0.5126 GB, free: 23.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/0.7033, allocations: 3.85 MB / 0.5164 GB, free: 19.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000541/0.7039, allocations: 93.7 kB / 0.5165 GB, free: 19.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001703/0.7056, allocations: 5.065 MB / 0.5214 GB, free: 14.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009763/0.7066, allocations: 1.546 MB / 0.5229 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.7077, allocations: 1.249 MB / 0.5242 GB, free: 11.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.7077, allocations: 476.8 kB / 0.5246 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.7092, allocations: 0.9485 MB / 0.5255 GB, free: 9.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.7114, allocations: 4.001 MB / 0.5294 GB, free: 4.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/0.7162, allocations: 5.46 MB / 0.5348 GB, free: 14.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.899e-05/0.7162, allocations: 24 kB / 0.5348 GB, free: 14.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.009166/0.7254, allocations: 5.79 MB / 0.5404 GB, free: 8.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.7254, allocations: 32 kB / 0.5405 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.404e-05/0.7255, allocations: 65.75 kB / 0.5405 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003235/0.7287, allocations: 1.521 MB / 0.542 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/0.7316, allocations: 1.324 MB / 0.5433 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.7446, allocations: 13.41 MB / 0.5564 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/0.7483, allocations: 315.6 kB / 0.5567 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007254/0.7491, allocations: 292 kB / 0.557 GB, free: 7.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002987/0.752, allocations: 0.5322 MB / 0.5575 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/0.7532, allocations: 0.6102 MB / 0.5581 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006682/0.7599, allocations: 4.317 MB / 0.5623 GB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/0.7599, allocations: 43.98 kB / 0.5624 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.821e-05/0.7599, allocations: 16 kB / 0.5624 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/0.76, allocations: 23.92 kB / 0.5624 GB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02075/0.7807, allocations: 12.06 MB / 0.5742 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.7807, allocations: 8 kB / 0.5742 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.7825, allocations: 0.729 MB / 0.5749 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003081/0.7856, allocations: 1.405 MB / 0.5763 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/0.7859, allocations: 112 kB / 0.5764 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.171/0.9569, allocations: 18.7 MB / 0.5946 GB, free: 94.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.9569, allocations: 10.97 kB / 0.5947 GB, free: 94.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/0.9673, allocations: 5.613 MB / 0.6001 GB, free: 93.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/0.9694, allocations: 0.9916 MB / 0.6011 GB, free: 93.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006029/0.97, allocations: 90.11 kB / 0.6012 GB, free: 93.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.9715, allocations: 224.1 kB / 0.6014 GB, free: 93.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007458/0.9722, allocations: 354.2 kB / 0.6017 GB, free: 93.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/0.9724, allocations: 136.1 kB / 0.6019 GB, free: 93.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002719/0.9751, allocations: 1.902 MB / 0.6037 GB, free: 92.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.9751, allocations: 0 / 0.6037 GB, free: 92.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005756/0.9809, allocations: 1.858 MB / 0.6055 GB, free: 92.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,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.0007908/0.9817, allocations: 286.7 kB / 0.6058 GB, free: 92.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008521/0.9902, allocations: 5.048 MB / 0.6107 GB, free: 91.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.9902, allocations: 1.094 kB / 0.6107 GB, free: 91.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004796/0.995, allocations: 3.495 MB / 0.6142 GB, free: 90.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004555/0.9996, allocations: 1.144 MB / 0.6153 GB, free: 90.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/1.025, allocations: 16.36 MB / 0.6313 GB, free: 83.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003607/1.028, allocations: 2.853 MB / 0.634 GB, free: 82.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003743/1.032, allocations: 1.548 MB / 0.6356 GB, free: 81.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009717/1.033, allocations: 384.5 kB / 0.6359 GB, free: 81.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.864e-06/1.033, allocations: 0 / 0.6359 GB, free: 81.04 MB / 426.7 MB Notification: Performance of Templates: time 0.08823/1.121, allocations: 73.9 MB / 0.7081 GB, free: 12.02 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 7.786985500715673]