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.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.00176/0.00176, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001997/0.001997, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.521/1.521, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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.002192/0.002192, allocations: 63.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2889, allocations: 53.33 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01492/0.3038, allocations: 10.44 MB / 442.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008371/0.3122, allocations: 3.505 MB / 446 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.3143, allocations: 59.75 kB / 446.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002769/0.3171, allocations: 0.8387 MB / 446.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003765/0.3209, allocations: 0.8736 MB / 447.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.3225, allocations: 439.3 kB / 448.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004363/0.3269, allocations: 2.759 MB / 451 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002877/0.3298, allocations: 1.348 MB / 452.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/0.332, allocations: 1.277 MB / 453.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002992/0.335, allocations: 1.615 MB / 455.2 MB, free: 64 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009094/0.3359, allocations: 336 kB / 455.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.3373, allocations: 451.7 kB / 456 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.3387, allocations: 0.9543 MB / 456.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.341, allocations: 1.513 MB / 458.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005078/0.346, allocations: 4.406 MB / 462.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.346, allocations: 0 / 462.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.346, allocations: 0 / 462.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.552e-05/0.3461, allocations: 0 / 462.8 MB, free: 8.395 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.006689/0.3528, allocations: 3.14 MB / 466 MB, free: 5.188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3528, allocations: 8.031 kB / 466 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009055/0.3538, allocations: 327 kB / 466.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.3569, allocations: 1.646 MB / 468 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.3571, allocations: 164.4 kB / 468.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003596/0.3575, allocations: 223.9 kB / 468.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005045/0.3625, allocations: 2.921 MB / 471.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.566e-05/0.3626, allocations: 4 kB / 471.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.3628, allocations: 88 kB / 471.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.3629, allocations: 120.3 kB / 471.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004323/0.3672, allocations: 2.434 MB / 473.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.3826, allocations: 9.038 MB / 482.9 MB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.3851, allocations: 1.639 MB / 484.6 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.3869, allocations: 0.9253 MB / 485.5 MB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.3873, allocations: 203.2 kB / 485.7 MB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.3873, allocations: 43.56 kB / 485.7 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.627e-06/0.3873, allocations: 0 / 485.7 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01532/0.4026, allocations: 6.594 MB / 492.3 MB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.4027, allocations: 64.41 kB / 492.4 MB, free: 9.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.4051, allocations: 1.573 MB / 494 MB, free: 8.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.4052, allocations: 45.7 kB / 494 MB, free: 8.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000938/0.4061, allocations: 1.13 MB / 495.2 MB, free: 7.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000423/0.4066, allocations: 456.1 kB / 495.6 MB, free: 6.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/0.407, allocations: 275.5 kB / 495.9 MB, free: 6.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4072, allocations: 301.1 kB / 496.2 MB, free: 6.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.4084, allocations: 0.7105 MB / 496.9 MB, free: 5.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.41, allocations: 1.142 MB / 498 MB, free: 4.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/0.413, allocations: 1.967 MB / 500 MB, free: 2.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.413, allocations: 4 kB / 500 MB, free: 2 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004619/0.4177, allocations: 2.531 MB / 0.4907 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.4177, allocations: 8 kB / 0.4907 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.4177, allocations: 16 kB / 0.4908 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.4188, allocations: 420.2 kB / 0.4912 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.4201, allocations: 355.5 kB / 0.4915 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008066/0.4282, allocations: 7.127 MB / 0.4985 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.4296, allocations: 111.8 kB / 0.4986 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.4298, allocations: 60 kB / 0.4986 GB, free: 6.934 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.001335/0.4311, allocations: 0.7232 MB / 0.4993 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/0.4315, allocations: 175 kB / 0.4995 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/0.4358, allocations: 2.194 MB / 0.5016 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.4359, allocations: 12 kB / 0.5017 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4359, allocations: 4 kB / 0.5017 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/0.4359, allocations: 15.91 kB / 0.5017 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009039/0.4449, allocations: 4.764 MB / 0.5063 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.4449, allocations: 4 kB / 0.5063 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009855/0.4459, allocations: 219.7 kB / 0.5065 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.4471, allocations: 451.5 kB / 0.507 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-05/0.4472, allocations: 43.98 kB / 0.507 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009698/0.4569, allocations: 8.69 MB / 0.5155 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.4569, allocations: 4 kB / 0.5155 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005775/0.4627, allocations: 3.219 MB / 0.5186 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.4637, allocations: 411.8 kB / 0.519 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/0.464, allocations: 28 kB / 0.5191 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.4651, allocations: 91.89 kB / 0.5191 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/0.4653, allocations: 96.75 kB / 0.5192 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.896e-05/0.4654, allocations: 35.98 kB / 0.5193 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001841/0.4673, allocations: 1.071 MB / 0.5203 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4673, allocations: 0 / 0.5203 GB, free: 15.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001834/0.4691, allocations: 495.9 kB / 0.5208 GB, free: 15.34 MB / 446.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.0004164/0.4695, allocations: 195.9 kB / 0.521 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004352/0.4739, allocations: 2.222 MB / 0.5231 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4739, allocations: 5.812 kB / 0.5232 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00264/0.4765, allocations: 1.426 MB / 0.5245 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.4789, allocations: 497.2 kB / 0.525 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009068/0.488, allocations: 4.754 MB / 0.5297 GB, free: 6.074 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/0.49, allocations: 1.879 MB / 0.5315 GB, free: 4.164 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001351/0.4914, allocations: 398.8 kB / 0.5319 GB, free: 3.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.4917, allocations: 119.4 kB / 0.532 GB, free: 3.652 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4917, allocations: 4 kB / 0.532 GB, free: 3.648 MB / 446.1 MB Notification: Performance of Templates: time 0.2461/0.7379, allocations: 27.72 MB / 0.5591 GB, free: 87.1 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.947844288311899]