Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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.001889/0.001889, 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.002381/0.002381, allocations: 211.7 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 51.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.274, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01231/0.2863, allocations: 9.16 MB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00763/0.2939, allocations: 3.279 MB / 444 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.2958, allocations: 71.5 kB / 444.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.2985, allocations: 0.7686 MB / 444.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.3019, allocations: 0.8893 MB / 445.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009922/0.3028, allocations: 423.4 kB / 446.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.306, allocations: 2.763 MB / 448.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.3079, allocations: 1.297 MB / 450.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.3095, allocations: 1.304 MB / 451.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.3116, allocations: 1.514 MB / 453 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004736/0.3121, allocations: 332 kB / 453.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008213/0.3129, allocations: 443.8 kB / 453.8 MB, free: 372 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00098/0.3139, allocations: 0.9543 MB / 454.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.3152, allocations: 1.217 MB / 456 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004455/0.3196, allocations: 4.44 MB / 460.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3197, allocations: 0 / 460.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3197, allocations: 0 / 460.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.69e-05/0.3197, allocations: 0 / 460.4 MB, free: 9.73 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.006166/0.3259, allocations: 3.069 MB / 463.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3259, allocations: 8.031 kB / 463.5 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008261/0.3267, allocations: 327 kB / 463.8 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/0.3297, allocations: 1.559 MB / 465.4 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.3299, allocations: 168.3 kB / 465.5 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003284/0.3302, allocations: 224 kB / 465.8 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004928/0.3351, allocations: 3.025 MB / 468.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-05/0.3352, allocations: 4 kB / 468.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.3354, allocations: 88 kB / 468.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/0.3355, allocations: 112.3 kB / 469 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/0.3397, allocations: 2.433 MB / 471.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.3525, allocations: 7.838 MB / 479.2 MB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.3547, allocations: 1.175 MB / 480.4 MB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.3564, allocations: 0.9132 MB / 481.3 MB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.3567, allocations: 52.91 kB / 481.4 MB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/0.3567, allocations: 51.55 kB / 481.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.837e-06/0.3567, allocations: 0 / 481.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01366/0.3704, allocations: 6.048 MB / 487.5 MB, free: 14.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3704, allocations: 64.41 kB / 487.5 MB, free: 14.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.3727, allocations: 1.425 MB / 489 MB, free: 12.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.206e-05/0.3728, allocations: 49.64 kB / 489 MB, free: 12.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.3739, allocations: 1.145 MB / 490.2 MB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/0.3743, allocations: 456.1 kB / 490.6 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/0.3747, allocations: 271.5 kB / 490.9 MB, free: 10.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3748, allocations: 301.1 kB / 491.2 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.3761, allocations: 0.7183 MB / 491.9 MB, free: 9.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.3777, allocations: 1.142 MB / 493 MB, free: 8.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/0.3808, allocations: 1.967 MB / 495 MB, free: 6.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.3808, allocations: 4 kB / 495 MB, free: 6.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004404/0.3852, allocations: 2.425 MB / 497.4 MB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.3852, allocations: 15.94 kB / 497.4 MB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.3852, allocations: 12 kB / 497.5 MB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.3862, allocations: 431.2 kB / 497.9 MB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.3875, allocations: 343.5 kB / 498.2 MB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007436/0.3949, allocations: 6.7 MB / 0.4931 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.3961, allocations: 107.8 kB / 0.4932 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.3962, allocations: 64 kB / 0.4932 GB, free: 11.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (169): * Single equations (assignments): 165 * 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,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.00123/0.3975, allocations: 0.7162 MB / 0.4939 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.3978, allocations: 166.9 kB / 0.4941 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.4017, allocations: 2.106 MB / 0.4962 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.4018, allocations: 16.08 kB / 0.4962 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.4018, allocations: 4 kB / 0.4962 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4018, allocations: 3.984 kB / 0.4962 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008165/0.4099, allocations: 4.122 MB / 0.5002 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.41, allocations: 4 kB / 0.5002 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009671/0.4109, allocations: 223.7 kB / 0.5004 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.4121, allocations: 454.2 kB / 0.5009 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.4123, allocations: 35.97 kB / 0.5009 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008844/0.4211, allocations: 8.156 MB / 0.5089 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4211, allocations: 4 kB / 0.5089 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/0.4268, allocations: 3.123 MB / 0.5119 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.4279, allocations: 314.8 kB / 0.5122 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004184/0.4283, allocations: 31.98 kB / 0.5122 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.4294, allocations: 87.84 kB / 0.5123 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.4297, allocations: 104.7 kB / 0.5124 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/0.4298, allocations: 39.98 kB / 0.5125 GB, free: 7.465 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001859/0.4317, allocations: 0.9535 MB / 0.5134 GB, free: 6.512 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4317, allocations: 0 / 0.5134 GB, free: 6.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002012/0.4337, allocations: 484.1 kB / 0.5139 GB, free: 6.039 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (107): * Single equations (assignments): 103 * 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,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.0004513/0.4341, allocations: 198.9 kB / 0.514 GB, free: 5.836 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004109/0.4382, allocations: 2.14 MB / 0.5161 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.4382, allocations: 8.125 kB / 0.5161 GB, free: 3.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002603/0.4408, allocations: 1.418 MB / 0.5175 GB, free: 2.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.4434, allocations: 419.5 kB / 0.5179 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009567/0.4529, allocations: 4.746 MB / 0.5226 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.455, allocations: 1.302 MB / 0.5238 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001245/0.4562, allocations: 369.7 kB / 0.5242 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004083/0.4567, allocations: 111.4 kB / 0.5243 GB, free: 11.12 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4567, allocations: 4 kB / 0.5243 GB, free: 11.12 MB / 446.1 MB Notification: Performance of Templates: time 0.2921/0.7488, allocations: 28.39 MB / 0.552 GB, free: 93.78 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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.8856489565223455]