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.001325/0.001325, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001536/0.001536, allocations: 210 kB / 23.73 MB, free: 4.387 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001664/0.001664, allocations: 51.91 kB / 378.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2562, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01156/0.2678, allocations: 7.887 MB / 439.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005878/0.2737, allocations: 2.719 MB / 442.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.2748, allocations: 59.62 kB / 442.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.2764, allocations: 0.59 MB / 442.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.2785, allocations: 0.7496 MB / 443.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007648/0.2793, allocations: 331.5 kB / 443.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002901/0.2822, allocations: 2.233 MB / 446.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.2837, allocations: 0.9813 MB / 447.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.2853, allocations: 1.059 MB / 448.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.2872, allocations: 1.234 MB / 449.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004057/0.2876, allocations: 268 kB / 449.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007564/0.2883, allocations: 359.8 kB / 450 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008241/0.2892, allocations: 0.7713 MB / 450.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.2904, allocations: 0.9802 MB / 451.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004098/0.2945, allocations: 3.572 MB / 455.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2945, allocations: 0 / 455.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2945, allocations: 3.938 kB / 455.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.093e-05/0.2946, allocations: 0 / 455.4 MB, free: 14.8 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.005214/0.2998, allocations: 2.478 MB / 457.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.2999, allocations: 12.03 kB / 457.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/0.3006, allocations: 267.4 kB / 458.1 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.3033, allocations: 1.234 MB / 459.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.3034, allocations: 131.9 kB / 459.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003045/0.3037, allocations: 199.8 kB / 459.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004372/0.3081, allocations: 2.463 MB / 462.1 MB, free: 7.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.536e-05/0.3082, allocations: 15.89 kB / 462.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.3083, allocations: 75.98 kB / 462.2 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.3085, allocations: 91.5 kB / 462.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/0.3121, allocations: 1.958 MB / 464.3 MB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.3235, allocations: 6.111 MB / 470.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.3254, allocations: 0.9966 MB / 471.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.327, allocations: 0.7921 MB / 472.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.3272, allocations: 48.91 kB / 472.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.3272, allocations: 39.56 kB / 472.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.906e-06/0.3272, allocations: 0 / 472.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.0141/0.3414, allocations: 5.666 MB / 477.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.3414, allocations: 64.41 kB / 478 MB, free: 7.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.3433, allocations: 1.075 MB / 479.1 MB, free: 6.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.3434, allocations: 45.7 kB / 479.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007668/0.3441, allocations: 0.8942 MB / 480 MB, free: 5.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/0.3445, allocations: 380.7 kB / 480.4 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.3449, allocations: 222.9 kB / 480.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.345, allocations: 357.9 kB / 480.9 MB, free: 4.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3461, allocations: 0.6155 MB / 481.6 MB, free: 4.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.3475, allocations: 0.9227 MB / 482.5 MB, free: 3.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.3501, allocations: 1.639 MB / 484.1 MB, free: 1.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3501, allocations: 4 kB / 484.1 MB, free: 1.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004103/0.3542, allocations: 2.137 MB / 486.3 MB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.3542, allocations: 8 kB / 486.3 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.3542, allocations: 15.98 kB / 486.3 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.3554, allocations: 472.1 kB / 486.7 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.3564, allocations: 271.6 kB / 487 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007358/0.3638, allocations: 6.588 MB / 493.6 MB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.3649, allocations: 87.97 kB / 493.7 MB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/0.365, allocations: 47.94 kB / 493.7 MB, free: 7.383 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.00106/0.366, allocations: 0.6104 MB / 494.3 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.3663, allocations: 131.2 kB / 494.5 MB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/0.3702, allocations: 1.932 MB / 496.4 MB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.3702, allocations: 11.94 kB / 496.4 MB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3702, allocations: 4 kB / 496.4 MB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.3702, allocations: 11.97 kB / 496.4 MB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007375/0.3776, allocations: 3.665 MB / 0.4884 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.3776, allocations: 4.469 kB / 0.4884 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/0.3784, allocations: 183.7 kB / 0.4885 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.3798, allocations: 0.5153 MB / 0.489 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.664e-05/0.3799, allocations: 31.98 kB / 0.4891 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008839/0.3887, allocations: 8.07 MB / 0.497 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/0.3887, allocations: 12 kB / 0.497 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004931/0.3937, allocations: 2.851 MB / 0.4998 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008477/0.3945, allocations: 259 kB / 0.5 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.3947, allocations: 31.92 kB / 0.5 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007753/0.3955, allocations: 75.92 kB / 0.5001 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.3957, allocations: 100.6 kB / 0.5002 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/0.3957, allocations: 32 kB / 0.5002 GB, free: 4.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.3969, allocations: 0.7295 MB / 0.5009 GB, free: 3.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3969, allocations: 0 / 0.5009 GB, free: 3.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001486/0.3984, allocations: 408 kB / 0.5013 GB, free: 3.105 MB / 414.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.0003809/0.3988, allocations: 187 kB / 0.5015 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.4024, allocations: 1.941 MB / 0.5034 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4024, allocations: 0 / 0.5034 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002385/0.4048, allocations: 1.365 MB / 0.5047 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.4064, allocations: 323.4 kB / 0.505 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/0.4133, allocations: 3.952 MB / 0.5089 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.4147, allocations: 1.062 MB / 0.5099 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008768/0.4156, allocations: 274.7 kB / 0.5102 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.4158, allocations: 91.42 kB / 0.5103 GB, free: 9.699 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4158, allocations: 3.938 kB / 0.5103 GB, free: 9.695 MB / 430.1 MB Notification: Performance of Templates: time 0.04223/0.4581, allocations: 23.5 MB / 0.5333 GB, free: 2.539 MB / 446.1 MB " [Timeout remaining time 660] 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.687227204442024]