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.001157/0.001157, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.00218, allocations: 449.7 kB / 10.37 MB, free: 324 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.00108/0.00108, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002542, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9622/0.9622, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08448/1.047, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.973e-06/1.973e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.962e-05, allocations: 6.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01109/0.01111, allocations: 13.11 MB / 258.1 MB, free: 476 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007697/0.01881, allocations: 4.721 MB / 262.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.02073, allocations: 99.38 kB / 262.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.02277, allocations: 1.025 MB / 264 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.02618, allocations: 1.351 MB / 265.3 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.02769, allocations: 0.8765 MB / 266.2 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003997/0.03169, allocations: 4.291 MB / 270.5 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.03374, allocations: 1.773 MB / 272.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1224/0.1562, allocations: 3.21 MB / 275.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/0.1597, allocations: 1.982 MB / 277.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.1611, allocations: 0.5042 MB / 278 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.163, allocations: 0.7278 MB / 278.7 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008592/0.1638, allocations: 0.9448 MB / 279.6 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.1658, allocations: 1.215 MB / 280.8 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004429/0.1702, allocations: 3.301 MB / 284.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.1702, allocations: 0 / 284.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1702, allocations: 0.5312 kB / 284.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001263/0.1703, allocations: 0 / 284.2 MB, free: 4.281 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.007263/0.1776, allocations: 5.071 MB / 289.2 MB, free: 2.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1776, allocations: 10.53 kB / 289.2 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.1802, allocations: 1.123 MB / 290.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.1826, allocations: 1.499 MB / 291.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/0.1827, allocations: 235.6 kB / 292.1 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003133/0.183, allocations: 322.3 kB / 292.4 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.1856, allocations: 2.379 MB / 294.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.044e-05/0.1856, allocations: 1.25 kB / 294.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.1858, allocations: 132.5 kB / 294.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.182e-05/0.1859, allocations: 147 kB / 295.1 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.1873, allocations: 0.923 MB / 296 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.1974, allocations: 8.364 MB / 304.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.1995, allocations: 1.65 MB / 306 MB, free: 9.184 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/0.2002, allocations: 0.5961 MB / 306.6 MB, free: 8.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002795/0.203, allocations: 1.804 MB / 308.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.203, allocations: 51.56 kB / 308.4 MB, free: 6.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=124): time 3.827e-06/0.203, allocations: 0 / 308.4 MB, free: 6.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=144): time 0.006015/0.209, allocations: 3.336 MB / 311.8 MB, free: 3.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.2091, allocations: 64.72 kB / 311.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.2103, allocations: 1.19 MB / 313 MB, free: 2.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/0.2104, allocations: 49.7 kB / 313.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006463/0.2111, allocations: 1.253 MB / 314.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.2114, allocations: 0.5113 MB / 314.8 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000365/0.2117, allocations: 299.3 kB / 315.1 MB, free: 480 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.097e-05/0.2118, allocations: 301.1 kB / 315.4 MB, free: 176 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.2122, allocations: 202.7 kB / 315.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.2127, allocations: 0.6583 MB / 316.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.2138, allocations: 1.025 MB / 317.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.2139, allocations: 6.406 kB / 317.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.001863/0.2157, allocations: 1.2 MB / 318.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.2157, allocations: 16.03 kB / 318.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.2158, allocations: 12 kB / 318.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009964/0.2168, allocations: 411.6 kB / 318.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.2182, allocations: 449 kB / 319.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/0.2226, allocations: 4.3 MB / 323.7 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008325/0.2234, allocations: 59.95 kB / 323.7 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/0.2235, allocations: 59.55 kB / 323.8 MB, free: 7.59 MB / 298.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.0007938/0.2243, allocations: 213.7 kB / 324 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.2245, allocations: 155.8 kB / 324.2 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.2262, allocations: 1.068 MB / 325.2 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.2263, allocations: 12 kB / 325.2 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.2263, allocations: 8 kB / 325.3 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.2263, allocations: 7.969 kB / 325.3 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.2303, allocations: 2.338 MB / 327.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2303, allocations: 4 kB / 327.6 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007963/0.2311, allocations: 266.7 kB / 327.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.2315, allocations: 205.1 kB / 328.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008818/0.2324, allocations: 374.9 kB / 328.4 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/0.2324, allocations: 39.92 kB / 328.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006191/0.2386, allocations: 8.413 MB / 336.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.2386, allocations: 7.281 kB / 336.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.2407, allocations: 1.416 MB / 338.3 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.2409, allocations: 28 kB / 338.3 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.2415, allocations: 59.91 kB / 338.4 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.2417, allocations: 112.6 kB / 338.5 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.634e-05/0.2418, allocations: 27.98 kB / 338.5 MB, free: 8.766 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006695/0.2424, allocations: 0.5881 MB / 339.1 MB, free: 8.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2424, allocations: 0 / 339.1 MB, free: 8.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001816/0.2442, allocations: 0.5859 MB / 339.7 MB, free: 7.664 MB / 314.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.0003076/0.2445, allocations: 152 kB / 339.8 MB, free: 7.523 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.2464, allocations: 1.314 MB / 341.2 MB, free: 6.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-05/0.2464, allocations: 36.44 kB / 341.2 MB, free: 6.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.2479, allocations: 1.189 MB / 342.4 MB, free: 5.016 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.2493, allocations: 0.5802 MB / 343 MB, free: 4.457 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/0.277, allocations: 5.132 MB / 348.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/0.2776, allocations: 0.677 MB / 348.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00105/0.2787, allocations: 251.7 kB / 349 MB, free: 14.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007029/0.2794, allocations: 445.5 kB / 349.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of SimCode: time 3.416e-06/0.2794, allocations: 0 / 349.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of Templates: time 0.04455/0.3239, allocations: 32.43 MB / 381.9 MB, free: 13.95 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4460433181375265]