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.0008286/0.0008286, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005632/0.005632, allocations: 158.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8834/0.8834, allocations: 177 MB / 204.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.132e-06/1.132e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.001e-05, allocations: 2.281 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.007491/0.007511, allocations: 9.162 MB / 335 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.01261, allocations: 3.295 MB / 338.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008179/0.01343, allocations: 75.5 kB / 338.3 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.01469, allocations: 0.7606 MB / 339.1 MB, free: 2.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.01648, allocations: 0.9313 MB / 340 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.01716, allocations: 427.2 kB / 340.4 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.01888, allocations: 2.862 MB / 343.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.01989, allocations: 1.305 MB / 344.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.02106, allocations: 1.891 MB / 346.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.02207, allocations: 1.364 MB / 347.9 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.02229, allocations: 336 kB / 348.2 MB, free: 8.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.0227, allocations: 439.8 kB / 348.6 MB, free: 8.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004902/0.02319, allocations: 0.9738 MB / 349.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005917/0.02378, allocations: 1.037 MB / 350.6 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.02627, allocations: 4.456 MB / 355.1 MB, free: 1.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.02627, allocations: 4 kB / 355.1 MB, free: 1.922 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02627, allocations: 0 / 355.1 MB, free: 1.922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.349e-05/0.0263, allocations: 0 / 355.1 MB, free: 1.922 MB / 314.7 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.003109/0.02941, allocations: 3.022 MB / 358.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.02944, allocations: 15.98 kB / 358.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004739/0.02991, allocations: 335 kB / 358.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.03154, allocations: 1.562 MB / 360 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.317e-05/0.03162, allocations: 168.8 kB / 360.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.03182, allocations: 220.3 kB / 360.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.0347, allocations: 3.021 MB / 363.4 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.426e-05/0.03475, allocations: 11.89 kB / 363.4 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.03488, allocations: 88 kB / 363.5 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-05/0.03496, allocations: 112.3 kB / 363.6 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.0375, allocations: 2.433 MB / 366 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007238/0.04474, allocations: 7.835 MB / 373.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.04603, allocations: 1.174 MB / 375.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.04703, allocations: 0.9248 MB / 376 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.04717, allocations: 44.97 kB / 376 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.0472, allocations: 47.55 kB / 376.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=105): time 2.184e-06/0.0472, allocations: 0 / 376.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.00749/0.05469, allocations: 6.049 MB / 382.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.05473, allocations: 64.41 kB / 382.2 MB, free: 6.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.056, allocations: 1.425 MB / 383.6 MB, free: 4.832 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.05606, allocations: 49.64 kB / 383.7 MB, free: 4.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005139/0.05658, allocations: 1.145 MB / 384.8 MB, free: 3.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.0568, allocations: 448.2 kB / 385.2 MB, free: 3.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.05706, allocations: 275.5 kB / 385.5 MB, free: 2.906 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.05714, allocations: 301.1 kB / 385.8 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000732/0.05787, allocations: 0.7066 MB / 386.5 MB, free: 1.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000903/0.05877, allocations: 1.138 MB / 387.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.06049, allocations: 1.967 MB / 389.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.06049, allocations: 4 kB / 389.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.002377/0.06287, allocations: 2.44 MB / 392.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.06289, allocations: 8 kB / 392.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.0629, allocations: 16 kB / 392.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/0.06348, allocations: 418.3 kB / 392.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.06412, allocations: 359.4 kB / 392.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.06829, allocations: 6.693 MB / 399.5 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.06886, allocations: 103.8 kB / 399.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.06893, allocations: 60 kB / 399.7 MB, free: 4.016 MB / 362.7 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.0008174/0.06974, allocations: 0.7202 MB / 400.4 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.0699, allocations: 170.9 kB / 400.6 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.07209, allocations: 2.098 MB / 402.7 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.0721, allocations: 16 kB / 402.7 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.0721, allocations: 4 kB / 402.7 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.07211, allocations: 7.969 kB / 402.7 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/0.07659, allocations: 4.122 MB / 406.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.0766, allocations: 4 kB / 406.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.07706, allocations: 223.7 kB / 407.1 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006179/0.07768, allocations: 459.5 kB / 407.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.07774, allocations: 35.98 kB / 407.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/0.08238, allocations: 8.119 MB / 415.7 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.08238, allocations: 8 kB / 415.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.08537, allocations: 3.12 MB / 418.8 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/0.08584, allocations: 311 kB / 419.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.08595, allocations: 31.98 kB / 419.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.0864, allocations: 83.84 kB / 419.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.08656, allocations: 108.7 kB / 419.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.0866, allocations: 36 kB / 419.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000922/0.08753, allocations: 0.9535 MB / 420.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08753, allocations: 0 / 420.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001163/0.08869, allocations: 491.9 kB / 420.8 MB, free: 14.3 MB / 394.7 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.0003019/0.08899, allocations: 202.9 kB / 421 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.09139, allocations: 2.139 MB / 423.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.09139, allocations: 4 kB / 423.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.0928, allocations: 1.424 MB / 424.5 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.09393, allocations: 425.5 kB / 425 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00539/0.09932, allocations: 4.622 MB / 429.6 MB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.1004, allocations: 1.277 MB / 430.9 MB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.1006, allocations: 124.5 kB / 431 MB, free: 3.875 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1006, allocations: 0 / 431 MB, free: 3.875 MB / 394.7 MB Notification: Performance of Templates: time 0.196/0.2967, allocations: 74.02 MB / 0.4932 GB, free: 66.35 MB / 410.7 MB " [Timeout remaining time 660] 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/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_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: 8.359697197563946]