Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001545/0.001545, allocations: 119.3 kB / 21.17 MB, free: 0.7734 MB / 14.72 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.001766/0.001766, allocations: 212.8 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.388/1.388, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/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.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2324, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01156/0.2439, allocations: 9.76 MB / 441.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005808/0.2498, allocations: 3.174 MB / 445 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009766/0.2507, allocations: 55.75 kB / 445.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.2523, allocations: 0.7182 MB / 445.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.2543, allocations: 0.8077 MB / 446.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008602/0.2552, allocations: 399.3 kB / 447 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002965/0.2581, allocations: 2.556 MB / 449.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.2599, allocations: 1.299 MB / 450.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.2614, allocations: 1.203 MB / 452 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.2634, allocations: 1.534 MB / 453.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004105/0.2638, allocations: 320 kB / 453.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007183/0.2645, allocations: 423.8 kB / 454.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009228/0.2655, allocations: 0.9154 MB / 455.2 MB, free: 96 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.2669, allocations: 1.423 MB / 456.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004346/0.2712, allocations: 4.177 MB / 460.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2712, allocations: 0 / 460.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2712, allocations: 0 / 460.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.728e-05/0.2713, allocations: 0 / 460.8 MB, free: 10.47 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.006181/0.2775, allocations: 2.98 MB / 463.8 MB, free: 7.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2775, allocations: 8.031 kB / 463.8 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008009/0.2783, allocations: 311.2 kB / 464.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/0.2812, allocations: 1.551 MB / 465.6 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.2813, allocations: 160.3 kB / 465.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/0.2817, allocations: 215.9 kB / 466 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004645/0.2863, allocations: 2.799 MB / 468.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.437e-05/0.2864, allocations: 4 kB / 468.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.2865, allocations: 80 kB / 468.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.2867, allocations: 112.2 kB / 469 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004312/0.291, allocations: 2.347 MB / 471.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.3056, allocations: 8.525 MB / 479.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.3082, allocations: 1.635 MB / 481.5 MB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.3099, allocations: 0.9097 MB / 482.4 MB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.3102, allocations: 207.2 kB / 482.6 MB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.3103, allocations: 47.5 kB / 482.7 MB, free: 3.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.766e-06/0.3103, allocations: 0 / 482.7 MB, free: 3.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.0134/0.3237, allocations: 6.255 MB / 488.9 MB, free: 13.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3237, allocations: 64.41 kB / 489 MB, free: 13.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.3258, allocations: 1.445 MB / 490.4 MB, free: 12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-05/0.3259, allocations: 41.7 kB / 490.5 MB, free: 11.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008545/0.3267, allocations: 1.071 MB / 491.5 MB, free: 10.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.3271, allocations: 432.3 kB / 492 MB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.3275, allocations: 259.5 kB / 492.2 MB, free: 10.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3277, allocations: 365.9 kB / 492.6 MB, free: 9.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.3289, allocations: 0.6871 MB / 493.3 MB, free: 9.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.3304, allocations: 1.077 MB / 494.3 MB, free: 7.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002791/0.3332, allocations: 1.867 MB / 496.2 MB, free: 5.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.3332, allocations: 4 kB / 496.2 MB, free: 5.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00425/0.3374, allocations: 2.414 MB / 498.6 MB, free: 3.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.3375, allocations: 12 kB / 498.6 MB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.3375, allocations: 8.25 kB / 498.6 MB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009783/0.3385, allocations: 415.1 kB / 499.1 MB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.3397, allocations: 339.5 kB / 499.4 MB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007604/0.3473, allocations: 7.036 MB / 0.4946 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.3486, allocations: 107.9 kB / 0.4947 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.3487, allocations: 59.98 kB / 0.4947 GB, free: 11.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * 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 {(3,11,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.001197/0.3499, allocations: 0.6887 MB / 0.4954 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/0.3502, allocations: 166.9 kB / 0.4955 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.354, allocations: 2.123 MB / 0.4976 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.354, allocations: 12 kB / 0.4976 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.354, allocations: 4 kB / 0.4976 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.354, allocations: 11.91 kB / 0.4976 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007859/0.3619, allocations: 4.552 MB / 0.5021 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3619, allocations: 4.094 kB / 0.5021 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008949/0.3628, allocations: 215.7 kB / 0.5023 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.3639, allocations: 445.6 kB / 0.5027 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/0.364, allocations: 31.98 kB / 0.5028 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009059/0.373, allocations: 8.635 MB / 0.5112 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.739e-05/0.3731, allocations: 7.938 kB / 0.5112 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005309/0.3784, allocations: 3.092 MB / 0.5142 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009863/0.3794, allocations: 387.9 kB / 0.5146 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.3796, allocations: 32 kB / 0.5146 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008767/0.3804, allocations: 83.89 kB / 0.5147 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.3807, allocations: 96.75 kB / 0.5148 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/0.3808, allocations: 32 kB / 0.5148 GB, free: 5.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001567/0.3823, allocations: 0.9888 MB / 0.5158 GB, free: 4.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3823, allocations: 0 / 0.5158 GB, free: 4.582 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001616/0.3839, allocations: 467.9 kB / 0.5162 GB, free: 4.125 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,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.0004203/0.3844, allocations: 212.6 kB / 0.5164 GB, free: 3.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00379/0.3882, allocations: 2.165 MB / 0.5185 GB, free: 1.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3882, allocations: 0.75 kB / 0.5185 GB, free: 1.691 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.3905, allocations: 1.391 MB / 0.5199 GB, free: 252 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.3925, allocations: 420.8 kB / 0.5203 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/0.3999, allocations: 4.596 MB / 0.5248 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.4016, allocations: 1.784 MB / 0.5265 GB, free: 9.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/0.4021, allocations: 119.4 kB / 0.5267 GB, free: 9.23 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4021, allocations: 0 / 0.5267 GB, free: 9.23 MB / 446.1 MB Notification: Performance of Templates: time 0.276/0.6781, allocations: 69.49 MB / 0.5945 GB, free: 51.23 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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: 11.75061055412516]