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.001362/0.001362, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001375/0.001375, allocations: 191 kB / 18.66 MB, free: 4.445 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.292/1.292, 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.001412/0.001412, allocations: 55.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08619, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.182/0.2683, allocations: 8.972 MB / 383.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004952/0.2733, allocations: 3.202 MB / 386.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.2744, allocations: 39.12 kB / 386.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.2762, allocations: 0.666 MB / 387.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.2782, allocations: 0.6992 MB / 388.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.279, allocations: 323.6 kB / 388.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002045/0.2811, allocations: 2.101 MB / 390.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.2826, allocations: 1.404 MB / 392 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.2839, allocations: 0.9125 MB / 393 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.2854, allocations: 1.127 MB / 394.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003347/0.2857, allocations: 231.3 kB / 394.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007653/0.2865, allocations: 324 kB / 394.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007363/0.2872, allocations: 0.6834 MB / 395.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.2885, allocations: 1.078 MB / 396.4 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004041/0.2926, allocations: 3.11 MB / 399.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2926, allocations: 2.094 kB / 399.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2926, allocations: 0 / 399.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.714e-05/0.2927, allocations: 5.781 kB / 399.5 MB, free: 1.039 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.004706/0.2974, allocations: 2.264 MB / 401.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2974, allocations: 9.625 kB / 401.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002945/0.2977, allocations: 234.2 kB / 402 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006629/0.2984, allocations: 230.9 kB / 402.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.3003, allocations: 1.152 MB / 403.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.822e-05/0.3004, allocations: 116.8 kB / 403.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.3006, allocations: 155.9 kB / 403.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/0.3037, allocations: 2.017 MB / 405.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.3038, allocations: 3.125 kB / 405.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.3039, allocations: 61.12 kB / 405.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.553e-05/0.304, allocations: 79.75 kB / 405.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.3065, allocations: 1.653 MB / 407.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009/0.3155, allocations: 6.891 MB / 414.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.3162, allocations: 446 kB / 414.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.3166, allocations: 260.5 kB / 415 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.3168, allocations: 123.2 kB / 415.2 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3169, allocations: 46.48 kB / 415.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.715e-06/0.3169, allocations: 0 / 415.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.007555/0.3244, allocations: 3.276 MB / 418.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00226/0.3267, allocations: 2.338 MB / 420.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.3291, allocations: 1.619 MB / 422.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-05/0.3292, allocations: 33.7 kB / 422.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006276/0.3298, allocations: 1.018 MB / 423.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.33, allocations: 236.8 kB / 423.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/0.3304, allocations: 331 kB / 424 MB, free: 13.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.3305, allocations: 309.1 kB / 424.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/0.3313, allocations: 0.5114 MB / 424.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.3326, allocations: 1.457 MB / 426.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.3348, allocations: 2.149 MB / 428.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.3348, allocations: 12 kB / 428.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003281/0.3381, allocations: 2.15 MB / 430.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.3381, allocations: 24.03 kB / 430.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/0.3382, allocations: 36 kB / 430.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.3387, allocations: 234.3 kB / 430.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3398, allocations: 387.3 kB / 431.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.3413, allocations: 1.852 MB / 433.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.3428, allocations: 139.4 kB / 433.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.3429, allocations: 104 kB / 433.4 MB, free: 3.309 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.0008525/0.3438, allocations: 0.5789 MB / 434 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.344, allocations: 150.1 kB / 434.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.3459, allocations: 1.114 MB / 435.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3459, allocations: 4 kB / 435.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.3459, allocations: 4 kB / 435.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.3459, allocations: 3.984 kB / 435.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005227/0.3511, allocations: 3.398 MB / 438.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.3512, allocations: 8 kB / 438.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.3516, allocations: 103.9 kB / 438.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005904/0.3522, allocations: 230.7 kB / 439 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.3523, allocations: 16 kB / 439 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003779/0.356, allocations: 4.058 MB / 443 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001945/0.358, allocations: 2.165 MB / 445.2 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.3605, allocations: 1.743 MB / 446.9 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007543/0.3612, allocations: 307.1 kB / 447.2 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.3614, allocations: 23.92 kB / 447.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.3621, allocations: 47.89 kB / 447.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.3622, allocations: 67.86 kB / 447.4 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.3623, allocations: 24 kB / 447.4 MB, free: 4.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001714/0.364, allocations: 1.07 MB / 448.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.364, allocations: 0 / 448.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001669/0.3657, allocations: 380 kB / 448.8 MB, free: 3.098 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.002751/0.3685, allocations: 2.369 MB / 451.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.3709, allocations: 1.618 MB / 452.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3709, allocations: 0 / 452.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.3721, allocations: 0.8512 MB / 453.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.3742, allocations: 418 kB / 454.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/0.3955, allocations: 15.23 MB / 469.3 MB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.397, allocations: 1.472 MB / 470.8 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001093/0.3981, allocations: 346 kB / 471.1 MB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008723/0.399, allocations: 0.6203 MB / 471.8 MB, free: 10.71 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3991, allocations: 3.938 kB / 471.8 MB, free: 10.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0756/0.4747, allocations: 36.81 MB / 0.4966 GB, free: 5.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.27, allocations: 4.062 kB / 0.4967 GB, free: 5.785 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