Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.001383/0.001383, allocations: 92.27 kB / 20.96 MB, free: 3.438 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.001576/0.001576, allocations: 160.9 kB / 24.26 MB, free: 140 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.498/1.498, allocations: 177 MB / 204.5 MB, free: 5.617 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.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.724e-05/3.945e-05, allocations: 6.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01189/0.01193, allocations: 7.899 MB / 280.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006435/0.01836, allocations: 2.719 MB / 282.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.01969, allocations: 59.62 kB / 282.9 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.02166, allocations: 0.6015 MB / 283.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.02466, allocations: 0.7722 MB / 284.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009436/0.02561, allocations: 327.4 kB / 284.6 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003713/0.02932, allocations: 2.322 MB / 286.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.03101, allocations: 0.9813 MB / 287.9 MB, free: 1.988 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.03372, allocations: 1.524 MB / 289.4 MB, free: 472 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1432/0.1769, allocations: 1.114 MB / 290.5 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008302/0.1778, allocations: 269.4 kB / 290.8 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.179, allocations: 360.4 kB / 291.1 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008042/0.1798, allocations: 0.7939 MB / 291.9 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.1812, allocations: 0.8304 MB / 292.8 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00469/0.1859, allocations: 3.599 MB / 296.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1859, allocations: 0 / 296.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1859, allocations: 0.9062 kB / 296.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001057/0.186, allocations: 0 / 296.4 MB, free: 16.79 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.007326/0.1934, allocations: 2.453 MB / 298.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1934, allocations: 12.95 kB / 298.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.1947, allocations: 412.6 kB / 299.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.197, allocations: 1.294 MB / 300.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.1971, allocations: 133.3 kB / 300.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.1974, allocations: 183.6 kB / 300.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004638/0.2021, allocations: 2.477 MB / 303.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.187e-05/0.2021, allocations: 6.328 kB / 303.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.2023, allocations: 77.52 kB / 303.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.2024, allocations: 92.03 kB / 303.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/0.2055, allocations: 1.963 MB / 305.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009342/0.2148, allocations: 6.2 MB / 311.6 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.2162, allocations: 0.999 MB / 312.6 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.2175, allocations: 0.8065 MB / 313.5 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.2177, allocations: 48.97 kB / 313.5 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2178, allocations: 46.05 kB / 313.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.665e-06/0.2178, allocations: 0 / 313.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.01238/0.2301, allocations: 5.692 MB / 319.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.2302, allocations: 60.41 kB / 319.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.2317, allocations: 1.087 MB / 320.4 MB, free: 312 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.943e-05/0.2318, allocations: 45.7 kB / 320.4 MB, free: 260 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008167/0.2327, allocations: 0.8969 MB / 321.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.2331, allocations: 380.6 kB / 321.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.2335, allocations: 221.8 kB / 321.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.2337, allocations: 353.9 kB / 322.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.235, allocations: 0.62 MB / 322.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.2367, allocations: 0.9146 MB / 323.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/0.2394, allocations: 1.644 MB / 325.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.2395, allocations: 10.28 kB / 325.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00459/0.244, allocations: 2.194 MB / 327.6 MB, free: 8.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.2441, allocations: 8 kB / 327.7 MB, free: 8.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.2441, allocations: 10.73 kB / 327.7 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.2456, allocations: 0.4924 MB / 328.2 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.2466, allocations: 277.3 kB / 328.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008625/0.2553, allocations: 6.607 MB / 335 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.2566, allocations: 87.52 kB / 335.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.2567, allocations: 48 kB / 335.2 MB, free: 1.117 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001319/0.258, allocations: 0.5972 MB / 335.8 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004052/0.2584, allocations: 167.2 kB / 335.9 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/0.2629, allocations: 1.932 MB / 337.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.2629, allocations: 12 kB / 337.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.2629, allocations: 8 kB / 337.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.2629, allocations: 7.969 kB / 337.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00765/0.2706, allocations: 3.676 MB / 341.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.2706, allocations: 4 kB / 341.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/0.2714, allocations: 174.8 kB / 341.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.2731, allocations: 0.5538 MB / 342.3 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.94e-05/0.2732, allocations: 31.98 kB / 342.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/0.2834, allocations: 8.078 MB / 350.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.2835, allocations: 7.844 kB / 350.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006291/0.2897, allocations: 2.877 MB / 353.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009369/0.2907, allocations: 263 kB / 353.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.2909, allocations: 31.98 kB / 353.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/0.2917, allocations: 71.92 kB / 353.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000361/0.2921, allocations: 96.23 kB / 353.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.2922, allocations: 35.98 kB / 353.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001402/0.2936, allocations: 0.7295 MB / 354.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2936, allocations: 4 kB / 354.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001891/0.2955, allocations: 408 kB / 354.9 MB, free: 12.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004878/0.296, allocations: 192.7 kB / 355.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00404/0.3, allocations: 1.953 MB / 357 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3, allocations: 4.125 kB / 357 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002558/0.3026, allocations: 1.356 MB / 358.4 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.3046, allocations: 339.4 kB / 358.7 MB, free: 9.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007943/0.3125, allocations: 3.837 MB / 362.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/0.3141, allocations: 1.05 MB / 363.6 MB, free: 4.086 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001166/0.3153, allocations: 290.7 kB / 363.9 MB, free: 3.797 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.3156, allocations: 88.48 kB / 364 MB, free: 3.711 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/0.3156, allocations: 0 / 364 MB, free: 3.711 MB / 314.7 MB Notification: Performance of Templates: time 0.0436/0.3592, allocations: 21.24 MB / 385.2 MB, free: 14.84 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.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.569129051989876]