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.001352/0.001352, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001527/0.001527, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 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.8755/0.8755, allocations: 177 MB / 205.9 MB, free: 4.449 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.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.763e-06/1.763e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.569e-05, allocations: 3.125 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.009874/0.00989, allocations: 12.97 MB / 287.1 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0063/0.01619, allocations: 4.432 MB / 291.5 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.01745, allocations: 95.44 kB / 291.6 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.01923, allocations: 0.9899 MB / 292.6 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.02169, allocations: 1.355 MB / 294 MB, free: 360 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.02299, allocations: 0.8726 MB / 294.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003603/0.02659, allocations: 4.284 MB / 299.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.02857, allocations: 1.73 MB / 300.9 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.03208, allocations: 2.959 MB / 303.8 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.03439, allocations: 1.976 MB / 305.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007812/0.03517, allocations: 0.5039 MB / 306.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.03625, allocations: 0.7105 MB / 307 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007383/0.03699, allocations: 1.184 MB / 308.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.0383, allocations: 1.45 MB / 309.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.04134, allocations: 3.481 MB / 313.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.04134, allocations: 3.938 kB / 313.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.04134, allocations: 0 / 313.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.022e-05/0.04139, allocations: 0 / 313.1 MB, free: 13.08 MB / 298.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.005467/0.04686, allocations: 4.546 MB / 317.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.04689, allocations: 8.031 kB / 317.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/0.04949, allocations: 1.165 MB / 318.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.05175, allocations: 2.248 MB / 321.1 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.05187, allocations: 238.6 kB / 321.3 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004172/0.05228, allocations: 320.3 kB / 321.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.05473, allocations: 2.339 MB / 324 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.107e-05/0.05478, allocations: 7.938 kB / 324 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/0.05497, allocations: 128 kB / 324.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-05/0.05506, allocations: 146.2 kB / 324.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.05667, allocations: 0.9091 MB / 325.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009989/0.06666, allocations: 10.52 MB / 335.7 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.0688, allocations: 1.813 MB / 337.5 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007724/0.06957, allocations: 0.6626 MB / 338.2 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002815/0.07239, allocations: 2.249 MB / 340.4 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.07241, allocations: 50.39 kB / 340.5 MB, free: 1.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=124): time 2.114e-06/0.07242, allocations: 0 / 340.5 MB, free: 1.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=144): time 0.005333/0.07775, allocations: 3.411 MB / 343.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.07778, allocations: 68.72 kB / 343.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.0789, allocations: 1.422 MB / 345.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.07897, allocations: 53.7 kB / 345.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009608/0.07993, allocations: 1.598 MB / 347 MB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.08021, allocations: 0.5346 MB / 347.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.08054, allocations: 336.9 kB / 347.9 MB, free: 9.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.08063, allocations: 476.8 kB / 348.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.0809, allocations: 195.8 kB / 348.5 MB, free: 9.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.08147, allocations: 0.892 MB / 349.4 MB, free: 7.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.08242, allocations: 1.209 MB / 350.6 MB, free: 6.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.08243, allocations: 4 kB / 350.6 MB, free: 6.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.001679/0.08411, allocations: 1.475 MB / 352.1 MB, free: 4.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.08413, allocations: 12 kB / 352.1 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.08414, allocations: 12 kB / 352.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008147/0.08496, allocations: 435.4 kB / 352.6 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/0.08569, allocations: 371.4 kB / 352.9 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1074/0.1931, allocations: 5.604 MB / 358.5 MB, free: 62.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009636/0.1941, allocations: 55.19 kB / 358.6 MB, free: 62.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/0.1942, allocations: 61.33 kB / 358.6 MB, free: 62.27 MB / 330.7 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.0005796/0.1947, allocations: 257.8 kB / 358.9 MB, free: 62.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.195, allocations: 235.9 kB / 359.1 MB, free: 62.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.1967, allocations: 1.266 MB / 360.4 MB, free: 61.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1967, allocations: 17.53 kB / 360.4 MB, free: 61.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.1967, allocations: 7.062 kB / 360.4 MB, free: 61.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.1967, allocations: 6.984 kB / 360.4 MB, free: 61.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.2002, allocations: 3.057 MB / 363.5 MB, free: 61.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2002, allocations: 1.344 kB / 363.5 MB, free: 61.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.2007, allocations: 206.4 kB / 363.7 MB, free: 61.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007289/0.2015, allocations: 399.7 kB / 364.1 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/0.2015, allocations: 39.16 kB / 364.1 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003844/0.2054, allocations: 11.34 MB / 375.4 MB, free: 52.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2054, allocations: 3.969 kB / 375.4 MB, free: 52.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.207, allocations: 1.692 MB / 377.1 MB, free: 51.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.2074, allocations: 329.3 kB / 377.5 MB, free: 51.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.2075, allocations: 33.25 kB / 377.5 MB, free: 51.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.2079, allocations: 50.23 kB / 377.5 MB, free: 51.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.2081, allocations: 118 kB / 377.7 MB, free: 51.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.2081, allocations: 36 kB / 377.7 MB, free: 51.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000501/0.2086, allocations: 0.761 MB / 378.5 MB, free: 51.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2086, allocations: 0 / 378.5 MB, free: 51.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001191/0.2098, allocations: 0.5827 MB / 379 MB, free: 51.39 MB / 330.7 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.0001967/0.21, allocations: 166.9 kB / 379.2 MB, free: 51.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.2116, allocations: 1.515 MB / 380.7 MB, free: 50.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2116, allocations: 3.844 kB / 380.7 MB, free: 50.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009497/0.2126, allocations: 1.544 MB / 382.3 MB, free: 49.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009747/0.2135, allocations: 446.3 kB / 382.7 MB, free: 49.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.2184, allocations: 5.098 MB / 387.8 MB, free: 47.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.2189, allocations: 0.8279 MB / 388.6 MB, free: 47.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005184/0.2194, allocations: 247.7 kB / 388.9 MB, free: 47.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/0.22, allocations: 0.489 MB / 389.4 MB, free: 47.46 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.22, allocations: 0 / 389.4 MB, free: 47.46 MB / 330.7 MB Notification: Performance of Templates: time 0.03337/0.2534, allocations: 31.35 MB / 420.7 MB, free: 19.12 MB / 330.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6309637776575983]