Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.001818/0.001818, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002072/0.002072, allocations: 212 kB / 24.47 MB, free: 3.547 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.45/1.45, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.001826/0.001826, allocations: 56.34 kB / 347.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2377, allocations: 49.16 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.009284/0.247, allocations: 8.482 MB / 405.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006122/0.2531, allocations: 2.983 MB / 408.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.2546, allocations: 64.5 kB / 408.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.2563, allocations: 0.6689 MB / 409.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.2584, allocations: 0.8064 MB / 409.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.2592, allocations: 397.4 kB / 410.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002927/0.2621, allocations: 2.552 MB / 412.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.2639, allocations: 1.232 MB / 414 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.2656, allocations: 1.209 MB / 415.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.2677, allocations: 1.437 MB / 416.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004565/0.2682, allocations: 317.3 kB / 417 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008563/0.269, allocations: 419.7 kB / 417.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009973/0.27, allocations: 0.915 MB / 418.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.2713, allocations: 1.148 MB / 419.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.2759, allocations: 4.188 MB / 423.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2759, allocations: 0 / 423.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2759, allocations: 0 / 423.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.825e-05/0.276, allocations: 1.531 kB / 423.7 MB, free: 8.133 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.006478/0.2825, allocations: 2.886 MB / 426.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2825, allocations: 15.98 kB / 426.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007493/0.2833, allocations: 307.2 kB / 426.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.2861, allocations: 1.378 MB / 428.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.2863, allocations: 164.3 kB / 428.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/0.2866, allocations: 215.9 kB / 428.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005136/0.2918, allocations: 2.9 MB / 431.5 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-05/0.2918, allocations: 3.953 kB / 431.5 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/0.292, allocations: 84 kB / 431.6 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.2922, allocations: 108.2 kB / 431.7 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004294/0.2964, allocations: 2.343 MB / 434 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.31, allocations: 7.37 MB / 441.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.3124, allocations: 1.174 MB / 442.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.3142, allocations: 0.9006 MB / 443.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.3144, allocations: 52.95 kB / 443.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.3145, allocations: 47.56 kB / 443.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.106e-06/0.3145, allocations: 4 kB / 443.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.0138/0.3283, allocations: 5.654 MB / 449.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/0.3284, allocations: 68.41 kB / 449.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.3304, allocations: 1.301 MB / 450.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.3305, allocations: 45.7 kB / 450.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008645/0.3314, allocations: 1.063 MB / 451.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.3317, allocations: 436.3 kB / 452.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004324/0.3322, allocations: 255.5 kB / 452.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3324, allocations: 357.9 kB / 452.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.3336, allocations: 0.687 MB / 453.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.3351, allocations: 1.074 MB / 454.5 MB, free: 8.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.338, allocations: 1.856 MB / 456.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.338, allocations: 4 kB / 456.4 MB, free: 6.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004281/0.3423, allocations: 2.32 MB / 458.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3423, allocations: 11.94 kB / 458.7 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.3423, allocations: 12 kB / 458.7 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.3433, allocations: 415.3 kB / 459.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.3446, allocations: 331.4 kB / 459.4 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007747/0.3523, allocations: 6.62 MB / 466.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.3536, allocations: 95.94 kB / 466.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.3537, allocations: 63.98 kB / 466.2 MB, free: 12.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * 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,11,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.001277/0.355, allocations: 0.6847 MB / 466.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.3553, allocations: 158.9 kB / 467 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/0.3592, allocations: 2.027 MB / 469.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.3592, allocations: 12 kB / 469.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.3592, allocations: 4 kB / 469.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3593, allocations: 3.984 kB / 469.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007651/0.3669, allocations: 3.947 MB / 473 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3669, allocations: 4 kB / 473 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009363/0.3679, allocations: 207.7 kB / 473.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.369, allocations: 443.4 kB / 473.7 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.3692, allocations: 43.98 kB / 473.7 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008853/0.378, allocations: 8.069 MB / 481.8 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/0.378, allocations: 7.938 kB / 481.8 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/0.3834, allocations: 3.012 MB / 484.8 MB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009145/0.3843, allocations: 294.8 kB / 485.1 MB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.3845, allocations: 35.92 kB / 485.1 MB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008988/0.3854, allocations: 87.91 kB / 485.2 MB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.3857, allocations: 100.7 kB / 485.3 MB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.3857, allocations: 35.98 kB / 485.4 MB, free: 8.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001443/0.3872, allocations: 0.8757 MB / 486.2 MB, free: 7.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3872, allocations: 0 / 486.2 MB, free: 7.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001758/0.3889, allocations: 463.9 kB / 486.7 MB, free: 7.367 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],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 (103): * Single equations (assignments): 99 * 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,11,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.0004008/0.3893, allocations: 193 kB / 486.9 MB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003855/0.3932, allocations: 2.081 MB / 489 MB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3932, allocations: 4.312 kB / 489 MB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002465/0.3957, allocations: 1.391 MB / 490.4 MB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.3975, allocations: 356.9 kB / 490.7 MB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007815/0.4053, allocations: 4.53 MB / 495.2 MB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.4069, allocations: 1.231 MB / 496.5 MB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001102/0.408, allocations: 344.5 kB / 496.8 MB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.4083, allocations: 107.4 kB / 496.9 MB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4083, allocations: 0 / 496.9 MB, free: 12.91 MB / 414.1 MB Notification: Performance of Templates: time 0.04646/0.4548, allocations: 25.85 MB / 0.5105 GB, free: 3.004 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.507118042558432]