Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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.001357/0.001357, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001496/0.001496, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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.447/1.447, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2253, allocations: 53.41 MB / 432.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01372/0.2391, allocations: 9.139 MB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007918/0.247, allocations: 3.287 MB / 444.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.2484, allocations: 71.5 kB / 444.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.2503, allocations: 0.7722 MB / 445.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.2529, allocations: 0.8814 MB / 446.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2539, allocations: 435.3 kB / 447 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.2575, allocations: 2.763 MB / 449.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.2595, allocations: 1.297 MB / 451 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.2616, allocations: 1.3 MB / 452.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.2645, allocations: 1.521 MB / 453.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006402/0.2652, allocations: 336 kB / 454.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009955/0.2662, allocations: 439.8 kB / 454.6 MB, free: 152 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.2672, allocations: 0.9504 MB / 455.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.2688, allocations: 1.217 MB / 456.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005474/0.2743, allocations: 4.433 MB / 461.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2743, allocations: 0 / 461.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2743, allocations: 0 / 461.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.31e-05/0.2744, allocations: 0 / 461.2 MB, free: 9.523 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.006158/0.2806, allocations: 3.068 MB / 464.3 MB, free: 6.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2806, allocations: 15.98 kB / 464.3 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008752/0.2815, allocations: 335 kB / 464.6 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/0.2847, allocations: 1.555 MB / 466.2 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.2848, allocations: 168.3 kB / 466.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003591/0.2852, allocations: 220 kB / 466.6 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005224/0.2904, allocations: 3.025 MB / 469.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.203e-05/0.2905, allocations: 3.984 kB / 469.6 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.2907, allocations: 88 kB / 469.7 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.2908, allocations: 124.3 kB / 469.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004546/0.2954, allocations: 2.422 MB / 472.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/0.3102, allocations: 7.835 MB / 480.1 MB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.3124, allocations: 1.17 MB / 481.2 MB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.3142, allocations: 0.9099 MB / 482.1 MB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.3144, allocations: 56.89 kB / 482.2 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.3144, allocations: 43.56 kB / 482.2 MB, free: 4.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.507e-06/0.3144, allocations: 0 / 482.2 MB, free: 4.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01439/0.3288, allocations: 6.062 MB / 488.3 MB, free: 13.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3289, allocations: 68.41 kB / 488.4 MB, free: 13.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.3311, allocations: 1.425 MB / 489.8 MB, free: 12.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/0.3312, allocations: 45.7 kB / 489.8 MB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009342/0.3321, allocations: 1.141 MB / 491 MB, free: 11.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/0.3325, allocations: 460 kB / 491.4 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.3329, allocations: 275.5 kB / 491.7 MB, free: 10.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3331, allocations: 301.1 kB / 492 MB, free: 10.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.3343, allocations: 0.7105 MB / 492.7 MB, free: 9.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.3359, allocations: 1.146 MB / 493.9 MB, free: 8.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.3388, allocations: 1.967 MB / 495.8 MB, free: 5.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.3388, allocations: 4 kB / 495.8 MB, free: 5.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004313/0.3431, allocations: 2.428 MB / 498.3 MB, free: 3.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.3431, allocations: 12.22 kB / 498.3 MB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.3431, allocations: 23.98 kB / 498.3 MB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.3442, allocations: 407.1 kB / 498.7 MB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.3455, allocations: 359.4 kB / 499 MB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007793/0.3533, allocations: 6.693 MB / 0.4939 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.3547, allocations: 103.9 kB / 0.494 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.3549, allocations: 67.98 kB / 0.494 GB, free: 11.58 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.001366/0.3563, allocations: 0.7165 MB / 0.4947 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.3567, allocations: 171 kB / 0.4949 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004076/0.3608, allocations: 2.106 MB / 0.497 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.3608, allocations: 12 kB / 0.497 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.3608, allocations: 4 kB / 0.497 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.3608, allocations: 7.969 kB / 0.497 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008549/0.3694, allocations: 4.122 MB / 0.501 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.3694, allocations: 4.469 kB / 0.501 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009703/0.3703, allocations: 231.6 kB / 0.5012 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.3716, allocations: 450.9 kB / 0.5017 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.3717, allocations: 31.98 kB / 0.5017 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009241/0.3809, allocations: 8.14 MB / 0.5096 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.3809, allocations: 4 kB / 0.5096 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006293/0.3872, allocations: 3.127 MB / 0.5127 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.3884, allocations: 310.8 kB / 0.513 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/0.3888, allocations: 28 kB / 0.513 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.3899, allocations: 83.89 kB / 0.5131 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.3902, allocations: 108.7 kB / 0.5132 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.3903, allocations: 39.98 kB / 0.5132 GB, free: 7.266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002154/0.3924, allocations: 0.9535 MB / 0.5142 GB, free: 6.312 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3924, allocations: 0 / 0.5142 GB, free: 6.312 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002327/0.3948, allocations: 484.1 kB / 0.5146 GB, free: 5.84 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.0005499/0.3953, allocations: 206.2 kB / 0.5148 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004443/0.3997, allocations: 2.139 MB / 0.5169 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.3998, allocations: 8.812 kB / 0.5169 GB, free: 3.445 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002704/0.4025, allocations: 1.422 MB / 0.5183 GB, free: 1.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/0.405, allocations: 423.2 kB / 0.5187 GB, free: 1.566 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.415, allocations: 4.794 MB / 0.5234 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/0.4169, allocations: 1.273 MB / 0.5246 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006306/0.4176, allocations: 131.3 kB / 0.5248 GB, free: 11.24 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4176, allocations: 0 / 0.5248 GB, free: 11.24 MB / 446.1 MB Notification: Performance of Templates: time 0.2473/0.6648, allocations: 73.98 MB / 0.597 GB, free: 47.92 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 12.470693801995367]