Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008832/0.000883, allocations: 175.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB 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: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000811/0.000811, allocations: 97.3 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002934, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.00719/0.2073, allocations: 8.459 MB / 383.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005412/0.2127, allocations: 2.968 MB / 386.5 MB, free: 36.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.2142, allocations: 45.44 kB / 386.6 MB, free: 36.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.2157, allocations: 0.5343 MB / 387.1 MB, free: 35.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.218, allocations: 0.6569 MB / 387.8 MB, free: 35.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008825/0.2189, allocations: 249.6 kB / 388 MB, free: 35.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003306/0.2222, allocations: 2.644 MB / 390.6 MB, free: 33.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.2241, allocations: 1.92 MB / 392.6 MB, free: 31.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.2255, allocations: 0.8832 MB / 393.4 MB, free: 30.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.2269, allocations: 1.21 MB / 394.7 MB, free: 29.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.2272, allocations: 140 kB / 394.8 MB, free: 28.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.2277, allocations: 239.8 kB / 395 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000508/0.2283, allocations: 0.6736 MB / 395.7 MB, free: 28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009618/0.2292, allocations: 1.152 MB / 396.9 MB, free: 26.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.2313, allocations: 3.335 MB / 400.2 MB, free: 23.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2314, allocations: 0 / 400.2 MB, free: 23.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2314, allocations: 4 kB / 400.2 MB, free: 23.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.843e-05/0.2314, allocations: 0 / 400.2 MB, free: 23.49 MB / 298.7 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.003966/0.2354, allocations: 2.456 MB / 402.6 MB, free: 20.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2355, allocations: 12.03 kB / 402.7 MB, free: 20.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006085/0.2361, allocations: 285.7 kB / 402.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.2379, allocations: 1.437 MB / 404.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.238, allocations: 168.5 kB / 404.5 MB, free: 19.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.2383, allocations: 215.9 kB / 404.7 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003695/0.242, allocations: 2.788 MB / 407.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.2421, allocations: 4 kB / 407.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.2422, allocations: 84 kB / 407.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.996e-05/0.2423, allocations: 104.2 kB / 407.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003301/0.2456, allocations: 2.359 MB / 410.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.2559, allocations: 8.659 MB / 418.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.2578, allocations: 1.714 MB / 420.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.2592, allocations: 0.9801 MB / 421.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.2595, allocations: 207.2 kB / 421.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.2595, allocations: 51.5 kB / 421.7 MB, free: 1.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=101): time 3.066e-06/0.2595, allocations: 0 / 421.7 MB, free: 1.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=116): time 0.0118/0.2713, allocations: 6.202 MB / 427.9 MB, free: 10.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.2714, allocations: 68.41 kB / 428 MB, free: 10.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.2733, allocations: 1.425 MB / 429.4 MB, free: 9.473 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.2735, allocations: 41.7 kB / 429.4 MB, free: 9.426 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006813/0.2741, allocations: 1.045 MB / 430.5 MB, free: 8.367 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.2745, allocations: 402.2 kB / 430.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.2745, allocations: 28 kB / 430.9 MB, free: 7.941 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2747, allocations: 361.9 kB / 431.2 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.2757, allocations: 0.691 MB / 431.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.277, allocations: 1.082 MB / 433 MB, free: 5.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.2794, allocations: 1.867 MB / 434.9 MB, free: 3.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.2795, allocations: 4 kB / 434.9 MB, free: 3.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003754/0.2832, allocations: 2.421 MB / 437.3 MB, free: 1.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2833, allocations: 8 kB / 437.3 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.2833, allocations: 12 kB / 437.3 MB, free: 1.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008973/0.2842, allocations: 419.3 kB / 437.7 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.2853, allocations: 331.5 kB / 438.1 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/0.2913, allocations: 6.456 MB / 444.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.2925, allocations: 107.9 kB / 444.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.2926, allocations: 67.86 kB / 444.7 MB, free: 9.352 MB / 330.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001149/0.2938, allocations: 0.6808 MB / 445.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.294, allocations: 162 kB / 445.5 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.2975, allocations: 2.142 MB / 447.7 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.2975, allocations: 12 kB / 447.7 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2975, allocations: 4 kB / 447.7 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.2976, allocations: 7.922 kB / 447.7 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006941/0.3045, allocations: 4.597 MB / 452.3 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.3045, allocations: 11.88 kB / 452.3 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008443/0.3054, allocations: 211.7 kB / 452.5 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.3065, allocations: 453.2 kB / 453 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-05/0.3066, allocations: 31.98 kB / 453 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007026/0.3136, allocations: 7.928 MB / 460.9 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3137, allocations: 4 kB / 460.9 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004732/0.3184, allocations: 3.132 MB / 464 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007685/0.3192, allocations: 382.9 kB / 464.4 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.3194, allocations: 35.98 kB / 464.5 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007785/0.3202, allocations: 91.91 kB / 464.5 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.3204, allocations: 92.75 kB / 464.6 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/0.3205, allocations: 39.98 kB / 464.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00136/0.3219, allocations: 0.9769 MB / 465.7 MB, free: 3.523 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3219, allocations: 0 / 465.7 MB, free: 3.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001501/0.3234, allocations: 456 kB / 466.1 MB, free: 3.078 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003673/0.3238, allocations: 205.5 kB / 466.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003353/0.3271, allocations: 2.226 MB / 468.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3271, allocations: 0 / 468.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.3293, allocations: 1.443 MB / 470 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.3317, allocations: 396.9 kB / 470.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006853/0.3386, allocations: 5.39 MB / 475.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.34, allocations: 1.788 MB / 477.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/0.3404, allocations: 123.4 kB / 477.7 MB, free: 7.305 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3405, allocations: 0 / 477.7 MB, free: 7.305 MB / 362.7 MB Notification: Performance of Templates: time 0.1978/0.5383, allocations: 68.59 MB / 0.5334 GB, free: 72.62 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches