Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 114.4 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 51.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.08509, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.1623/0.2474, allocations: 8.964 MB / 383.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004794/0.2523, allocations: 3.214 MB / 386.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007171/0.253, allocations: 34.91 kB / 386.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.2545, allocations: 0.6699 MB / 387.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.256, allocations: 0.692 MB / 388.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.2567, allocations: 329.1 kB / 388.5 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.2585, allocations: 2.103 MB / 390.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.26, allocations: 1.404 MB / 392.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.2612, allocations: 0.9113 MB / 393 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.2625, allocations: 1.126 MB / 394.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003039/0.2628, allocations: 230.1 kB / 394.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006203/0.2634, allocations: 319.2 kB / 394.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005932/0.264, allocations: 0.6804 MB / 395.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009735/0.265, allocations: 1.087 MB / 396.4 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.2681, allocations: 3.12 MB / 399.5 MB, free: 1.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2682, allocations: 1.312 kB / 399.5 MB, free: 1.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2682, allocations: 0 / 399.5 MB, free: 1.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.429e-05/0.2682, allocations: 0 / 399.5 MB, free: 1.02 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004001/0.2722, allocations: 2.322 MB / 401.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2723, allocations: 9.625 kB / 401.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000303/0.2726, allocations: 231.4 kB / 402.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006342/0.2732, allocations: 234.1 kB / 402.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.2751, allocations: 1.173 MB / 403.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-05/0.2753, allocations: 113 kB / 403.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.2755, allocations: 160.7 kB / 403.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.2788, allocations: 2.012 MB / 405.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.676e-05/0.2788, allocations: 8.422 kB / 405.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.279, allocations: 61.5 kB / 405.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.511e-05/0.2791, allocations: 75.36 kB / 405.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.2819, allocations: 1.653 MB / 407.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009961/0.2918, allocations: 6.913 MB / 414.5 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.2926, allocations: 446.9 kB / 414.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/0.293, allocations: 263.5 kB / 415.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.2933, allocations: 119.6 kB / 415.3 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.2933, allocations: 37.75 kB / 415.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.876e-06/0.2933, allocations: 7.938 kB / 415.3 MB, free: 6.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.007363/0.3007, allocations: 3.311 MB / 418.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002601/0.3033, allocations: 2.333 MB / 421 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.3058, allocations: 1.612 MB / 422.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.926e-05/0.306, allocations: 41.69 kB / 422.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008687/0.3068, allocations: 1.053 MB / 423.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.3071, allocations: 246 kB / 423.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004605/0.3075, allocations: 323.3 kB / 424.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3077, allocations: 305.2 kB / 424.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008435/0.3085, allocations: 0.5192 MB / 425 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.3102, allocations: 1.461 MB / 426.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.3128, allocations: 2.142 MB / 428.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.3128, allocations: 12 kB / 428.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003599/0.3164, allocations: 2.161 MB / 430.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.3165, allocations: 20.97 kB / 430.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/0.3165, allocations: 36 kB / 430.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005516/0.3171, allocations: 238.4 kB / 431.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.3182, allocations: 395.3 kB / 431.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.3202, allocations: 1.843 MB / 433.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.3217, allocations: 143.6 kB / 433.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.3218, allocations: 99.98 kB / 433.6 MB, free: 3.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009804/0.3228, allocations: 0.5789 MB / 434.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.3231, allocations: 159 kB / 434.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.3251, allocations: 1.11 MB / 435.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3251, allocations: 8 kB / 435.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3251, allocations: 3.984 kB / 435.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3252, allocations: 0 / 435.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005474/0.3306, allocations: 3.398 MB / 438.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.3307, allocations: 4 kB / 438.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.3311, allocations: 115.8 kB / 438.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006308/0.3317, allocations: 234.3 kB / 439.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.3318, allocations: 16 kB / 439.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004288/0.3361, allocations: 4.054 MB / 443.2 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002691/0.3388, allocations: 2.169 MB / 445.4 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.3416, allocations: 1.752 MB / 447.2 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006476/0.3422, allocations: 320 kB / 447.5 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.3424, allocations: 23.88 kB / 447.5 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.3431, allocations: 51.88 kB / 447.5 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.3432, allocations: 63.88 kB / 447.6 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.3433, allocations: 27.98 kB / 447.6 MB, free: 4.309 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001686/0.345, allocations: 1.066 MB / 448.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.345, allocations: 0 / 448.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001566/0.3466, allocations: 383.9 kB / 449.1 MB, free: 2.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003022/0.3496, allocations: 2.37 MB / 451.4 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002551/0.3522, allocations: 1.613 MB / 453.1 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3522, allocations: 4 kB / 453.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.3535, allocations: 0.8591 MB / 453.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.3552, allocations: 414.3 kB / 454.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/0.3769, allocations: 15.29 MB / 469.6 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.3782, allocations: 1.465 MB / 471.1 MB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001003/0.3792, allocations: 354 kB / 471.4 MB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008712/0.3801, allocations: 0.6203 MB / 472 MB, free: 10.42 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3801, allocations: 3.938 kB / 472.1 MB, free: 10.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08133/0.4615, allocations: 36.33 MB / 0.4965 GB, free: 5.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.04, allocations: 3.938 kB / 0.4965 GB, free: 5.973 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.04 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_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_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches