Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001808/0.001808, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.00148/0.00148, allocations: 156.9 kB / 24.26 MB, free: 148 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 1.455/1.455, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 272.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.559e-05, allocations: 2.312 kB / 272.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01652/0.01654, allocations: 11.79 MB / 284 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008667/0.02521, allocations: 4.279 MB / 288.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.0264, allocations: 103.4 kB / 288.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.02884, allocations: 0.982 MB / 289.4 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.11/0.1388, allocations: 1.311 MB / 290.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.1408, allocations: 0.8694 MB / 291.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00402/0.1448, allocations: 4.125 MB / 295.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.147, allocations: 1.717 MB / 297.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.1506, allocations: 2.77 MB / 300.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.153, allocations: 1.764 MB / 301.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006377/0.1536, allocations: 0.4976 MB / 302.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.1548, allocations: 0.703 MB / 303.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006957/0.1555, allocations: 1.139 MB / 304.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.1568, allocations: 1.41 MB / 305.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004434/0.1613, allocations: 6.714 MB / 312.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1613, allocations: 0 / 312.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1613, allocations: 0 / 312.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.91e-05/0.1613, allocations: 0 / 312.4 MB, free: 6.523 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.00857/0.1699, allocations: 4.304 MB / 316.7 MB, free: 2.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.17, allocations: 11.98 kB / 316.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00403/0.174, allocations: 1.215 MB / 317.9 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/0.1779, allocations: 2.449 MB / 320.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.1781, allocations: 230.6 kB / 320.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005555/0.1787, allocations: 316.2 kB / 320.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008415/0.1871, allocations: 4.387 MB / 325.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.576e-05/0.1872, allocations: 6.156 kB / 325.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003257/0.1875, allocations: 120 kB / 325.4 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/0.1877, allocations: 154.3 kB / 325.6 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006919/0.1946, allocations: 3.605 MB / 329.2 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/0.215, allocations: 11.42 MB / 340.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005677/0.2206, allocations: 2.659 MB / 343.3 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003338/0.224, allocations: 1.517 MB / 344.8 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007274/0.2312, allocations: 3.372 MB / 348.1 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.2313, allocations: 47.56 kB / 348.2 MB, free: 3.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 2.695e-06/0.2313, allocations: 0 / 348.2 MB, free: 3.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.01289/0.2442, allocations: 5.029 MB / 353.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.2443, allocations: 64.41 kB / 353.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/0.2472, allocations: 1.526 MB / 354.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.2473, allocations: 53.7 kB / 354.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.2488, allocations: 1.456 MB / 356.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005222/0.2493, allocations: 447.3 kB / 356.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005749/0.2499, allocations: 283.4 kB / 357 MB, free: 10.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.25, allocations: 313 kB / 357.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.2516, allocations: 0.6481 MB / 358 MB, free: 9.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.2535, allocations: 1.16 MB / 359.1 MB, free: 8.141 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/0.2567, allocations: 1.901 MB / 361 MB, free: 6.102 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.2567, allocations: 4 kB / 361.1 MB, free: 6.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005019/0.2618, allocations: 2.38 MB / 363.4 MB, free: 3.801 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.2618, allocations: 8 kB / 363.4 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.2618, allocations: 19.98 kB / 363.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.2631, allocations: 361.2 kB / 363.8 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.2646, allocations: 351 kB / 364.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008227/0.2728, allocations: 6.206 MB / 370.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.2743, allocations: 83.12 kB / 370.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/0.2745, allocations: 67.98 kB / 370.5 MB, free: 12.47 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002188/0.2767, allocations: 0.9942 MB / 371.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006051/0.2773, allocations: 215 kB / 371.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00495/0.2823, allocations: 2.034 MB / 373.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.2823, allocations: 12 kB / 373.8 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/0.2823, allocations: 8 kB / 373.8 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.2823, allocations: 11.97 kB / 373.8 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009113/0.2915, allocations: 4.094 MB / 377.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.2915, allocations: 0 / 377.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008138/0.2923, allocations: 162.7 kB / 378 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.2942, allocations: 0.5685 MB / 378.6 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.2943, allocations: 35.98 kB / 378.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/0.3085, allocations: 10.74 MB / 389.4 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.3085, allocations: 7.5 kB / 389.4 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006168/0.3146, allocations: 2.969 MB / 392.4 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.3157, allocations: 322.8 kB / 392.7 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003884/0.316, allocations: 28 kB / 392.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.3171, allocations: 67.94 kB / 392.8 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/0.3174, allocations: 108.7 kB / 392.9 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.3175, allocations: 36 kB / 392.9 MB, free: 5.613 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002317/0.3198, allocations: 1.029 MB / 393.9 MB, free: 4.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3198, allocations: 0 / 393.9 MB, free: 4.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002442/0.3223, allocations: 0.5429 MB / 394.5 MB, free: 4.043 MB / 346.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.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,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 (83): * Single equations (assignments): 78 * 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 {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004271/0.3227, allocations: 169.6 kB / 394.6 MB, free: 3.879 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004102/0.3268, allocations: 1.993 MB / 396.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3268, allocations: 0 / 396.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002824/0.3296, allocations: 1.5 MB / 398.1 MB, free: 356 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.3322, allocations: 437.7 kB / 398.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.3442, allocations: 5.465 MB / 404 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002981/0.3472, allocations: 1.739 MB / 405.8 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001499/0.3487, allocations: 350.4 kB / 406.1 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.3491, allocations: 116.5 kB / 406.2 MB, free: 8.184 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3491, allocations: 0 / 406.2 MB, free: 8.184 MB / 362.7 MB Notification: Performance of Templates: time 0.1759/0.5251, allocations: 25.65 MB / 431.9 MB, free: 119.5 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.8028066450497136]