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.001386/0.001386, allocations: 89.22 kB / 20.69 MB, free: 1.023 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.001449/0.001449, allocations: 157.6 kB / 23.95 MB, free: 4.152 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.494/1.494, allocations: 177 MB / 204.1 MB, free: 9.133 MB / 190.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 1.733e-06/1.733e-06, allocations: 0 / 325 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.441e-05, allocations: 2.281 kB / 325 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01843/0.01845, allocations: 9.155 MB / 334.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009539/0.02799, allocations: 3.305 MB / 337.5 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.02949, allocations: 73.25 kB / 337.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.03227, allocations: 0.7581 MB / 338.3 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003444/0.03571, allocations: 0.9326 MB / 339.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.03707, allocations: 424.2 kB / 339.7 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004694/0.04177, allocations: 2.861 MB / 342.5 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002881/0.04465, allocations: 1.305 MB / 343.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/0.04838, allocations: 1.895 MB / 345.7 MB, free: 204 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/0.0518, allocations: 1.364 MB / 347.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000766/0.05257, allocations: 336 kB / 347.4 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.05388, allocations: 431.9 kB / 347.8 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001576/0.05546, allocations: 0.9776 MB / 348.8 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.05755, allocations: 1.029 MB / 349.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007571/0.06512, allocations: 4.46 MB / 354.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.06512, allocations: 4 kB / 354.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.06513, allocations: 0 / 354.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.086e-05/0.0652, allocations: 0 / 354.3 MB, free: 7.594 MB / 318.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.006335/0.07153, allocations: 3.03 MB / 357.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.07157, allocations: 11.98 kB / 357.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000921/0.07249, allocations: 335 kB / 357.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.07533, allocations: 1.558 MB / 359.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.07549, allocations: 168.8 kB / 359.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003562/0.07584, allocations: 216.4 kB / 359.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005115/0.08096, allocations: 3.029 MB / 362.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-05/0.08101, allocations: 7.891 kB / 362.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.08124, allocations: 88 kB / 362.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001411/0.08138, allocations: 120.3 kB / 362.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004544/0.08592, allocations: 2.433 MB / 365.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.09944, allocations: 7.839 MB / 373.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.1018, allocations: 1.167 MB / 374.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.1038, allocations: 0.9253 MB / 375.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.104, allocations: 52.95 kB / 375.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.104, allocations: 43.56 kB / 375.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=105): time 3.036e-06/0.104, allocations: 0 / 375.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=122): time 0.01494/0.119, allocations: 6.054 MB / 381.4 MB, free: 12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.119, allocations: 64.41 kB / 381.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.1211, allocations: 1.425 MB / 382.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-05/0.1212, allocations: 45.7 kB / 382.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000919/0.1221, allocations: 1.141 MB / 384 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/0.1225, allocations: 440.3 kB / 384.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004756/0.123, allocations: 275.5 kB / 384.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1231, allocations: 301.1 kB / 385 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.1244, allocations: 0.7144 MB / 385.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.1261, allocations: 1.138 MB / 386.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.1292, allocations: 1.963 MB / 388.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.1292, allocations: 4 kB / 388.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004574/0.1337, allocations: 2.432 MB / 391.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.1338, allocations: 12 kB / 391.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.1338, allocations: 12 kB / 391.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.1349, allocations: 431.3 kB / 391.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.1363, allocations: 351.4 kB / 392.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007967/0.1442, allocations: 6.699 MB / 398.8 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.146, allocations: 103.8 kB / 398.9 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.1462, allocations: 67.98 kB / 398.9 MB, free: 9.676 MB / 366.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.001451/0.1476, allocations: 0.7086 MB / 399.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/0.148, allocations: 170.9 kB / 399.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/0.1522, allocations: 2.106 MB / 401.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.1522, allocations: 16 kB / 401.9 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1522, allocations: 4 kB / 401.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.1522, allocations: 3.984 kB / 401.9 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008119/0.1604, allocations: 4.126 MB / 406.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.1604, allocations: 4 kB / 406.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.1614, allocations: 227.6 kB / 406.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.1627, allocations: 463.3 kB / 406.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.914e-05/0.1628, allocations: 31.98 kB / 406.8 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009213/0.172, allocations: 8.107 MB / 414.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.172, allocations: 11.94 kB / 414.9 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00574/0.1778, allocations: 3.12 MB / 418 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.1788, allocations: 306.8 kB / 418.3 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.179, allocations: 35.98 kB / 418.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000949/0.18, allocations: 83.91 kB / 418.4 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.1802, allocations: 100.7 kB / 418.5 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.232e-05/0.1803, allocations: 39.98 kB / 418.6 MB, free: 5.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001715/0.182, allocations: 0.9574 MB / 419.5 MB, free: 4.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.182, allocations: 0 / 419.5 MB, free: 4.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001811/0.1839, allocations: 483.9 kB / 420 MB, free: 3.977 MB / 382.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.0004202/0.1843, allocations: 202.2 kB / 420.2 MB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004123/0.1884, allocations: 2.151 MB / 422.4 MB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.1884, allocations: 4 kB / 422.4 MB, free: 1.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002684/0.1911, allocations: 1.42 MB / 423.8 MB, free: 104 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.1933, allocations: 425.3 kB / 424.2 MB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008104/0.2014, allocations: 4.566 MB / 428.8 MB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/0.2031, allocations: 1.298 MB / 430.1 MB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001165/0.2043, allocations: 381.7 kB / 430.4 MB, free: 9.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003886/0.2046, allocations: 116.4 kB / 430.5 MB, free: 9.215 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2046, allocations: 0 / 430.5 MB, free: 9.215 MB / 398.1 MB Notification: Performance of Templates: time 0.04929/0.2539, allocations: 25.42 MB / 456 MB, free: 80 kB / 414.1 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: 5.645892910659313]