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.0009267/0.0009267, allocations: 81.81 kB / 21.43 MB, free: 3.066 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.000983/0.000983, allocations: 163.8 kB / 24.82 MB, free: 8.867 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.9394/0.9394, allocations: 177 MB / 205.1 MB, free: 5.465 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.623e-06/1.623e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.206e-05, allocations: 2.312 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01518/0.0152, allocations: 12.97 MB / 286.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1122/0.1274, allocations: 4.424 MB / 290.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.1294, allocations: 99.41 kB / 290.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.1317, allocations: 0.9897 MB / 291.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.1349, allocations: 1.353 MB / 293.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.1365, allocations: 0.8757 MB / 294.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00445/0.141, allocations: 4.267 MB / 298.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003255/0.1442, allocations: 1.731 MB / 300.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006498/0.1507, allocations: 2.964 MB / 303 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003965/0.1547, allocations: 1.975 MB / 305 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001581/0.1563, allocations: 0.5099 MB / 305.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.1585, allocations: 0.7167 MB / 306.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.1595, allocations: 1.18 MB / 307.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.1614, allocations: 1.452 MB / 308.9 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.1649, allocations: 3.477 MB / 312.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1649, allocations: 0 / 312.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1649, allocations: 0 / 312.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001538/0.165, allocations: 0 / 312.3 MB, free: 7.816 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.006002/0.171, allocations: 4.549 MB / 316.9 MB, free: 3.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1711, allocations: 15.98 kB / 316.9 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.1736, allocations: 1.165 MB / 318.1 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.1758, allocations: 2.259 MB / 320.3 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.1759, allocations: 230.7 kB / 320.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003195/0.1762, allocations: 321 kB / 320.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/0.1791, allocations: 2.324 MB / 323.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-05/0.1791, allocations: 7.141 kB / 323.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.1793, allocations: 134.4 kB / 323.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.1794, allocations: 146.2 kB / 323.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.1808, allocations: 0.912 MB / 324.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.1951, allocations: 10.52 MB / 334.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.1982, allocations: 1.8 MB / 336.7 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.1994, allocations: 0.6574 MB / 337.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004072/0.2035, allocations: 2.258 MB / 339.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.2035, allocations: 50.39 kB / 339.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 3.297e-06/0.2035, allocations: 0 / 339.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.007989/0.2115, allocations: 3.439 MB / 343.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.2115, allocations: 72.66 kB / 343.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.2133, allocations: 1.416 MB / 344.6 MB, free: 8.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.957e-05/0.2134, allocations: 49.7 kB / 344.6 MB, free: 8.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.2144, allocations: 1.594 MB / 346.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.2148, allocations: 0.531 MB / 346.8 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004834/0.2153, allocations: 336 kB / 347.1 MB, free: 6.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.2155, allocations: 476.8 kB / 347.6 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.2159, allocations: 203.8 kB / 347.8 MB, free: 5.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008617/0.2167, allocations: 0.8854 MB / 348.6 MB, free: 4.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.2182, allocations: 1.21 MB / 349.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.2182, allocations: 8 kB / 349.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002537/0.2207, allocations: 1.474 MB / 351.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.2208, allocations: 12 kB / 351.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.2208, allocations: 12 kB / 351.4 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009431/0.2217, allocations: 439.8 kB / 351.8 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.2224, allocations: 363.5 kB / 352.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/0.2262, allocations: 5.633 MB / 357.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.2269, allocations: 48 kB / 357.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.2269, allocations: 64.11 kB / 357.9 MB, free: 11.05 MB / 314.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.00056/0.2275, allocations: 263.1 kB / 358.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.2277, allocations: 238.7 kB / 358.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.2292, allocations: 1.272 MB / 359.6 MB, free: 9.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2293, allocations: 12 kB / 359.7 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2293, allocations: 8 kB / 359.7 MB, free: 9.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.2293, allocations: 7.969 kB / 359.7 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/0.2327, allocations: 3.053 MB / 362.7 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2327, allocations: 4 kB / 362.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.2332, allocations: 199.7 kB / 362.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007126/0.2339, allocations: 409.9 kB / 363.3 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.234, allocations: 31.98 kB / 363.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005682/0.2396, allocations: 11.35 MB / 374.7 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2396, allocations: 0 / 374.7 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.2415, allocations: 1.692 MB / 376.4 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/0.2419, allocations: 328.5 kB / 376.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.242, allocations: 36 kB / 376.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.2424, allocations: 47.97 kB / 376.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.2426, allocations: 113 kB / 376.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.2426, allocations: 39.98 kB / 377 MB, free: 7.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008235/0.2434, allocations: 0.7601 MB / 377.7 MB, free: 6.906 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2434, allocations: 3.938 kB / 377.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001281/0.2447, allocations: 0.5859 MB / 378.3 MB, free: 6.316 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.0002256/0.2449, allocations: 170.1 kB / 378.5 MB, free: 6.148 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.2464, allocations: 1.51 MB / 380 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2464, allocations: 0 / 380 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.2475, allocations: 1.546 MB / 381.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2486, allocations: 447.7 kB / 382 MB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.2548, allocations: 5.097 MB / 387.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.2554, allocations: 0.823 MB / 387.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006829/0.2561, allocations: 247.7 kB / 388.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007079/0.2568, allocations: 0.494 MB / 388.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2568, allocations: 0 / 388.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of Templates: time 0.0415/0.2983, allocations: 30.81 MB / 419.4 MB, free: 13.47 MB / 378.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.703212949912995]