Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 115.6 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 215 kB / 23.74 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 47.92 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.241, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01159/0.2526, allocations: 8.963 MB / 440.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006008/0.2586, allocations: 2.907 MB / 443.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.2597, allocations: 55.62 kB / 443.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.2614, allocations: 0.6559 MB / 444.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.2638, allocations: 0.7574 MB / 445 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.2646, allocations: 327.5 kB / 445.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003006/0.2676, allocations: 2.237 MB / 447.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.2692, allocations: 1.02 MB / 448.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.2708, allocations: 1.047 MB / 449.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.2728, allocations: 1.331 MB / 450.9 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003856/0.2732, allocations: 268 kB / 451.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007207/0.2739, allocations: 367.8 kB / 451.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009234/0.2748, allocations: 0.7675 MB / 452.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.2761, allocations: 1.213 MB / 453.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.28, allocations: 3.546 MB / 457.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.28, allocations: 0 / 457.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.28, allocations: 4 kB / 457.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.407e-05/0.2801, allocations: 0 / 457.1 MB, free: 13.36 MB / 366.1 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.005115/0.2852, allocations: 2.466 MB / 459.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2852, allocations: 8.031 kB / 459.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000705/0.2859, allocations: 271.4 kB / 459.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.2883, allocations: 1.238 MB / 461.1 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.2885, allocations: 135.9 kB / 461.2 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.2887, allocations: 195.8 kB / 461.4 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003967/0.2927, allocations: 2.367 MB / 463.7 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.558e-05/0.2928, allocations: 15.89 kB / 463.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.2929, allocations: 68 kB / 463.8 MB, free: 6.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.2931, allocations: 95.5 kB / 463.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003555/0.2966, allocations: 1.962 MB / 465.9 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/0.3087, allocations: 6.945 MB / 472.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.3106, allocations: 1.005 MB / 473.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.3123, allocations: 0.7999 MB / 474.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.3125, allocations: 44.91 kB / 474.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.3125, allocations: 47.56 kB / 474.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.226e-06/0.3125, allocations: 0 / 474.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01499/0.3275, allocations: 5.674 MB / 480.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.3276, allocations: 64.41 kB / 480.5 MB, free: 5.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.3296, allocations: 1.215 MB / 481.7 MB, free: 4.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.539e-05/0.3297, allocations: 41.7 kB / 481.7 MB, free: 4.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008134/0.3306, allocations: 0.8909 MB / 482.6 MB, free: 3.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.3309, allocations: 388.8 kB / 483 MB, free: 3.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004082/0.3314, allocations: 218.9 kB / 483.2 MB, free: 2.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3315, allocations: 353.9 kB / 483.5 MB, free: 2.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.3327, allocations: 0.6155 MB / 484.2 MB, free: 1.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.3341, allocations: 0.9188 MB / 485.1 MB, free: 0.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002687/0.3368, allocations: 1.647 MB / 486.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.3368, allocations: 4 kB / 486.7 MB, free: 15.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004315/0.3411, allocations: 2.152 MB / 488.9 MB, free: 12.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.3411, allocations: 8 kB / 488.9 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.3411, allocations: 8 kB / 488.9 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.3424, allocations: 476.1 kB / 489.4 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3434, allocations: 271.6 kB / 489.6 MB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008105/0.3515, allocations: 6.711 MB / 496.3 MB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.3528, allocations: 83.97 kB / 496.4 MB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.353, allocations: 52 kB / 496.5 MB, free: 4.898 MB / 398.1 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.001234/0.3542, allocations: 0.5949 MB / 497.1 MB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004287/0.3546, allocations: 147 kB / 497.2 MB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.3585, allocations: 1.949 MB / 499.2 MB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.3585, allocations: 8 kB / 499.2 MB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.3585, allocations: 8 kB / 499.2 MB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.3585, allocations: 11.92 kB / 499.2 MB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008353/0.3669, allocations: 4.088 MB / 0.4915 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.3669, allocations: 4 kB / 0.4915 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/0.3677, allocations: 183.7 kB / 0.4917 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.3692, allocations: 0.5197 MB / 0.4922 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.605e-05/0.3693, allocations: 35.97 kB / 0.4922 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009017/0.3783, allocations: 8.209 MB / 0.5002 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3783, allocations: 4 kB / 0.5002 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/0.3834, allocations: 2.871 MB / 0.503 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008852/0.3843, allocations: 274.9 kB / 0.5033 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/0.3846, allocations: 31.92 kB / 0.5033 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008894/0.3855, allocations: 71.92 kB / 0.5034 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.3858, allocations: 92.77 kB / 0.5035 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/0.3858, allocations: 39.92 kB / 0.5035 GB, free: 1.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001464/0.3873, allocations: 0.8422 MB / 0.5043 GB, free: 236 kB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3873, allocations: 0 / 0.5043 GB, free: 236 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001645/0.389, allocations: 404 kB / 0.5047 GB, free: 15.83 MB / 430.1 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.0004233/0.3894, allocations: 190.9 kB / 0.5049 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003731/0.3931, allocations: 1.952 MB / 0.5068 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3931, allocations: 0 / 0.5068 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002402/0.3955, allocations: 1.365 MB / 0.5081 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.3974, allocations: 387.8 kB / 0.5085 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007489/0.4048, allocations: 3.977 MB / 0.5124 GB, free: 7.797 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.4068, allocations: 1.634 MB / 0.514 GB, free: 6.129 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001271/0.4081, allocations: 299.7 kB / 0.5143 GB, free: 5.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.4085, allocations: 91.42 kB / 0.5144 GB, free: 5.742 MB / 430.1 MB Notification: Performance of SimCode: time 1.283e-06/0.4085, allocations: 0 / 0.5144 GB, free: 5.742 MB / 430.1 MB Notification: Performance of Templates: time 0.2507/0.6592, allocations: 23.77 MB / 0.5376 GB, free: 102.1 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.987028917996213]