Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.001802/0.001802, allocations: 82.88 kB / 21.99 MB, free: 4.754 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.001937/0.001937, allocations: 153.8 kB / 25.25 MB, free: 2.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 158.6 MB / 187 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 51.92 kB / 299.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1992, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01176/0.2109, allocations: 9.064 MB / 357.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006096/0.217, allocations: 3.288 MB / 360.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008589/0.2179, allocations: 63.56 kB / 360.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.2196, allocations: 0.7569 MB / 361.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.2217, allocations: 0.8854 MB / 362.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008692/0.2225, allocations: 423.4 kB / 363 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003139/0.2257, allocations: 2.763 MB / 365.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.2276, allocations: 1.281 MB / 367 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.2293, allocations: 1.285 MB / 368.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.2315, allocations: 1.514 MB / 369.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004975/0.232, allocations: 336 kB / 370.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008117/0.2329, allocations: 435.8 kB / 370.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.2339, allocations: 0.9543 MB / 371.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.2353, allocations: 1.21 MB / 372.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004748/0.24, allocations: 4.428 MB / 377.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.24, allocations: 7.938 kB / 377.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.24, allocations: 0 / 377.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-05/0.2401, allocations: 0 / 377.2 MB, free: 2.684 MB / 334.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.005985/0.2461, allocations: 3.049 MB / 380.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2461, allocations: 11.98 kB / 380.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007693/0.2469, allocations: 327 kB / 380.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.2496, allocations: 1.453 MB / 382 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.2497, allocations: 180.3 kB / 382.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/0.25, allocations: 224 kB / 382.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004837/0.2549, allocations: 3.013 MB / 385.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.838e-05/0.2549, allocations: 4 kB / 385.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.2552, allocations: 88 kB / 385.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.2553, allocations: 112.3 kB / 385.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004312/0.2596, allocations: 2.43 MB / 388.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.2729, allocations: 7.835 MB / 395.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.2752, allocations: 1.172 MB / 397.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.277, allocations: 0.9169 MB / 398 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.2773, allocations: 56.89 kB / 398 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.2773, allocations: 47.56 kB / 398.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=105): time 3.577e-06/0.2773, allocations: 4 kB / 398.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.01441/0.2917, allocations: 6.02 MB / 404.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.2918, allocations: 64.41 kB / 404.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.2938, allocations: 1.421 MB / 405.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/0.2939, allocations: 45.7 kB / 405.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008977/0.2948, allocations: 1.145 MB / 406.8 MB, free: 4.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/0.2952, allocations: 452.2 kB / 407.2 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004545/0.2956, allocations: 271.5 kB / 407.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2958, allocations: 305.1 kB / 407.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.297, allocations: 0.7066 MB / 408.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.2987, allocations: 1.139 MB / 409.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003087/0.3018, allocations: 1.964 MB / 411.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.3018, allocations: 4 kB / 411.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004411/0.3062, allocations: 2.425 MB / 414 MB, free: 12.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.3062, allocations: 11.94 kB / 414 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.3062, allocations: 19.94 kB / 414.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3072, allocations: 423.4 kB / 414.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.3086, allocations: 351.4 kB / 414.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007603/0.3162, allocations: 6.698 MB / 421.5 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.3173, allocations: 107.8 kB / 421.6 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.3175, allocations: 60 kB / 421.7 MB, free: 4.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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.001218/0.3187, allocations: 0.7198 MB / 422.4 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.319, allocations: 174.9 kB / 422.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.3229, allocations: 2.086 MB / 424.7 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.3229, allocations: 12 kB / 424.7 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.323, allocations: 4 kB / 424.7 MB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.323, allocations: 12.08 kB / 424.7 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007499/0.3305, allocations: 4.127 MB / 428.8 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.3305, allocations: 4 kB / 428.8 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009852/0.3315, allocations: 223.7 kB / 429 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.3326, allocations: 447.2 kB / 429.5 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.471e-05/0.3327, allocations: 43.91 kB / 429.5 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008906/0.3416, allocations: 8.119 MB / 437.6 MB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.3416, allocations: 4 kB / 437.6 MB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005327/0.3469, allocations: 3.139 MB / 440.8 MB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007971/0.3477, allocations: 306.9 kB / 441.1 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.3479, allocations: 35.98 kB / 441.1 MB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008911/0.3488, allocations: 79.91 kB / 441.2 MB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.3491, allocations: 108.7 kB / 441.3 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.943e-05/0.3491, allocations: 43.98 kB / 441.3 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001546/0.3507, allocations: 0.9533 MB / 442.3 MB, free: 15.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3507, allocations: 0 / 442.3 MB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001678/0.3524, allocations: 484.1 kB / 442.8 MB, free: 15.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (108): * Single equations (assignments): 104 * 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.0003788/0.3527, allocations: 192.8 kB / 442.9 MB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003735/0.3565, allocations: 2.148 MB / 445.1 MB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3565, allocations: 0 / 445.1 MB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00243/0.3589, allocations: 1.422 MB / 446.5 MB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.3608, allocations: 421.1 kB / 446.9 MB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007942/0.3687, allocations: 4.764 MB / 451.7 MB, free: 6.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.3703, allocations: 1.302 MB / 453 MB, free: 4.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001159/0.3715, allocations: 369.7 kB / 453.4 MB, free: 4.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.3718, allocations: 120.5 kB / 453.5 MB, free: 4.195 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3718, allocations: 3.938 kB / 453.5 MB, free: 4.191 MB / 414.1 MB Notification: Performance of Templates: time 0.2093/0.5812, allocations: 25.49 MB / 479 MB, free: 101.5 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.508169072098099]