Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001137/0.001137, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001787/0.002924, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001129/0.001129, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.002742, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9628/0.9628, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08323/1.046, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|//aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|//aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.924e-05, allocations: 5.828 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01067/0.01069, allocations: 13.11 MB / 258.3 MB, free: 408 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008375/0.01906, allocations: 4.733 MB / 263.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.02118, allocations: 99.44 kB / 263.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.02342, allocations: 1.025 MB / 264.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.02644, allocations: 1.351 MB / 265.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.02776, allocations: 0.8765 MB / 266.4 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003306/0.03107, allocations: 4.303 MB / 270.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.03263, allocations: 1.769 MB / 272.5 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1111/0.1437, allocations: 3.21 MB / 275.7 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003139/0.1469, allocations: 1.985 MB / 277.7 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001432/0.1483, allocations: 0.5038 MB / 278.2 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.1503, allocations: 0.7248 MB / 278.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00093/0.1512, allocations: 0.9493 MB / 279.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.1534, allocations: 1.213 MB / 281.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003744/0.1571, allocations: 3.292 MB / 284.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.1571, allocations: 3.125 kB / 284.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1571, allocations: 0.6875 kB / 284.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.601e-05/0.1572, allocations: 0 / 284.4 MB, free: 4.336 MB / 266.7 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.006813/0.164, allocations: 5.067 MB / 289.4 MB, free: 2.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.1641, allocations: 10.12 kB / 289.4 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/0.1666, allocations: 1.119 MB / 290.6 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.1688, allocations: 1.503 MB / 292.1 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-05/0.1689, allocations: 238.2 kB / 292.3 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/0.1692, allocations: 317.7 kB / 292.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.1718, allocations: 2.378 MB / 295 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/0.1719, allocations: 2.719 kB / 295 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.172, allocations: 131.6 kB / 295.1 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.1722, allocations: 147.5 kB / 295.3 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.1737, allocations: 0.923 MB / 296.2 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.1837, allocations: 8.362 MB / 304.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.1857, allocations: 1.647 MB / 306.2 MB, free: 9.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006996/0.1864, allocations: 0.5996 MB / 306.8 MB, free: 8.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.1865, allocations: 62.67 kB / 306.8 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1866, allocations: 48.56 kB / 306.9 MB, free: 8.441 MB / 282.7 MB Notification: Performance of pre-optimization done (n=169): time 3.697e-06/0.1866, allocations: 0 / 306.9 MB, free: 8.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=191): time 0.007049/0.1936, allocations: 4.012 MB / 310.9 MB, free: 4.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.1937, allocations: 73.41 kB / 311 MB, free: 4.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.1947, allocations: 1.16 MB / 312.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-05/0.1948, allocations: 60.11 kB / 312.2 MB, free: 3.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005211/0.1953, allocations: 1.187 MB / 313.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.1956, allocations: 0.6684 MB / 314 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.1959, allocations: 333.7 kB / 314.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.196, allocations: 309.1 kB / 314.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.1964, allocations: 234.8 kB / 314.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.1969, allocations: 0.6781 MB / 315.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009646/0.1979, allocations: 1.162 MB / 316.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.1979, allocations: 4 kB / 316.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.001549/0.1994, allocations: 1.308 MB / 318.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1995, allocations: 14.81 kB / 318.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.1995, allocations: 12 kB / 318.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.2005, allocations: 424.2 kB / 318.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.2015, allocations: 0.5205 MB / 319 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003492/0.205, allocations: 4.465 MB / 323.5 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007005/0.2057, allocations: 59.95 kB / 323.5 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/0.2058, allocations: 63.98 kB / 323.6 MB, free: 7.914 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (218): * Single equations (assignments): 216 * 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%), (7,33,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006378/0.2064, allocations: 228.1 kB / 323.8 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.2066, allocations: 189.9 kB / 324 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.2081, allocations: 1.212 MB / 325.2 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.2081, allocations: 20 kB / 325.2 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.2081, allocations: 8 kB / 325.3 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.2082, allocations: 15.94 kB / 325.3 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/0.2122, allocations: 3.197 MB / 328.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2122, allocations: 4 kB / 328.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/0.2129, allocations: 354 kB / 328.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.2134, allocations: 222.8 kB / 329 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000695/0.2141, allocations: 383.3 kB / 329.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.2141, allocations: 47.98 kB / 329.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004751/0.2189, allocations: 8.407 MB / 337.9 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.2189, allocations: 11.59 kB / 337.9 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.2207, allocations: 1.696 MB / 339.6 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.2209, allocations: 36 kB / 339.6 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.2214, allocations: 59.98 kB / 339.7 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.2216, allocations: 147.3 kB / 339.8 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.2217, allocations: 39.98 kB / 339.8 MB, free: 7.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005321/0.2222, allocations: 0.5776 MB / 340.4 MB, free: 7.062 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2222, allocations: 0 / 340.4 MB, free: 7.062 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001808/0.224, allocations: 0.6211 MB / 341 MB, free: 6.441 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (149): * Single equations (assignments): 144 * 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.0002526/0.2243, allocations: 157.8 kB / 341.2 MB, free: 6.297 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.2259, allocations: 1.477 MB / 342.7 MB, free: 4.879 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-05/0.2259, allocations: 42.38 kB / 342.7 MB, free: 4.844 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.2271, allocations: 1.387 MB / 344.1 MB, free: 3.457 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.2296, allocations: 4.444 MB / 348.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/0.2505, allocations: 5.31 MB / 353.9 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.2512, allocations: 0.6942 MB / 354.6 MB, free: 8.105 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001151/0.2523, allocations: 273.8 kB / 354.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007491/0.2531, allocations: 483.1 kB / 355.3 MB, free: 7.359 MB / 330.7 MB Notification: Performance of SimCode: time 2.064e-06/0.2531, allocations: 0 / 355.3 MB, free: 7.359 MB / 330.7 MB Notification: Performance of Templates: time 0.04409/0.2972, allocations: 34.13 MB / 389.4 MB, free: 5.707 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.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/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5391825838014483]