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.001203/0.001203, allocations: 112.2 kB / 17.28 MB, free: 6.199 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.001189/0.001189, allocations: 189.3 kB / 18.2 MB, free: 5.277 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.265/1.265, allocations: 205.1 MB / 224.1 MB, free: 12.36 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.001128/0.001128, allocations: 52.14 kB / 280.3 MB, free: 3.375 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07675/0.07789, allocations: 46.63 MB / 326.9 MB, free: 4.676 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01014/0.08808, allocations: 8.917 MB / 335.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005221/0.09333, allocations: 3.179 MB / 339 MB, free: 8.516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.09446, allocations: 35.81 kB / 339 MB, free: 8.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.09635, allocations: 0.6022 MB / 339.6 MB, free: 7.875 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.09848, allocations: 0.6256 MB / 340.2 MB, free: 7.246 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008396/0.09934, allocations: 287.7 kB / 340.5 MB, free: 6.965 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002529/0.1019, allocations: 2.097 MB / 342.6 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.1037, allocations: 1.409 MB / 344 MB, free: 3.402 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.1052, allocations: 0.9147 MB / 344.9 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.1074, allocations: 1.144 MB / 346.1 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007317/0.1082, allocations: 232 kB / 346.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.1094, allocations: 323.8 kB / 346.6 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.1105, allocations: 0.6778 MB / 347.3 MB, free: 116 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.1125, allocations: 1.077 MB / 348.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.1161, allocations: 3.08 MB / 351.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1161, allocations: 0 / 351.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1161, allocations: 3.984 kB / 351.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001073/0.1162, allocations: 0 / 351.5 MB, free: 11.94 MB / 302.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.004213/0.1204, allocations: 2.261 MB / 353.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1205, allocations: 8.031 kB / 353.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002729/0.1208, allocations: 240.3 kB / 354 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005619/0.1213, allocations: 226.4 kB / 354.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.123, allocations: 1.145 MB / 355.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-05/0.1231, allocations: 119.2 kB / 355.5 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.1233, allocations: 159.9 kB / 355.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.1262, allocations: 2 MB / 357.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.2e-05/0.1263, allocations: 7.906 kB / 357.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.1264, allocations: 68 kB / 357.7 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.17e-05/0.1265, allocations: 78.86 kB / 357.8 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.1289, allocations: 1.647 MB / 359.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008449/0.1374, allocations: 6.944 MB / 366.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007059/0.1381, allocations: 445.1 kB / 366.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1384, allocations: 262 kB / 367 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.1386, allocations: 117.5 kB / 367.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1387, allocations: 35 kB / 367.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.1387, allocations: 3.938 kB / 367.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.006392/0.1451, allocations: 3.292 MB / 370.5 MB, free: 8.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002171/0.1473, allocations: 2.334 MB / 372.8 MB, free: 5.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.1493, allocations: 1.623 MB / 374.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.1494, allocations: 37.7 kB / 374.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006376/0.15, allocations: 1.026 MB / 375.5 MB, free: 3.055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.1502, allocations: 232.9 kB / 375.7 MB, free: 2.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.1506, allocations: 319.1 kB / 376 MB, free: 2.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.1507, allocations: 305.1 kB / 376.3 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/0.1514, allocations: 0.5192 MB / 376.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1455/0.2969, allocations: 1.465 MB / 378.3 MB, free: 50.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.2993, allocations: 2.138 MB / 380.5 MB, free: 49.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.2993, allocations: 9.625 kB / 380.5 MB, free: 49.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003457/0.3028, allocations: 2.15 MB / 382.6 MB, free: 48.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.3028, allocations: 19.84 kB / 382.6 MB, free: 48.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/0.3028, allocations: 32.38 kB / 382.7 MB, free: 48.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005138/0.3034, allocations: 233.4 kB / 382.9 MB, free: 48.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.3045, allocations: 392.2 kB / 383.3 MB, free: 48.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.3059, allocations: 1.853 MB / 385.1 MB, free: 46.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.3071, allocations: 134.4 kB / 385.3 MB, free: 46.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.3073, allocations: 95.06 kB / 385.4 MB, free: 46.86 MB / 318.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.0007632/0.308, allocations: 0.5853 MB / 386 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.3083, allocations: 157.2 kB / 386.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.3099, allocations: 1.108 MB / 387.2 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.31, allocations: 6.906 kB / 387.2 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.31, allocations: 1.219 kB / 387.2 MB, free: 46.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.31, allocations: 7.609 kB / 387.2 MB, free: 46.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004455/0.3144, allocations: 3.389 MB / 390.6 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.3145, allocations: 5.5 kB / 390.6 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.3149, allocations: 108.6 kB / 390.7 MB, free: 44.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005551/0.3154, allocations: 230.8 kB / 391 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.3155, allocations: 18.47 kB / 391 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/0.3182, allocations: 4.072 MB / 395 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001413/0.3196, allocations: 2.175 MB / 397.2 MB, free: 39.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.3216, allocations: 1.742 MB / 399 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.322, allocations: 308.3 kB / 399.3 MB, free: 38.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.3222, allocations: 20.53 kB / 399.3 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.3228, allocations: 45.91 kB / 399.3 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.3229, allocations: 67.55 kB / 399.4 MB, free: 38.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.3229, allocations: 22.06 kB / 399.4 MB, free: 38.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001163/0.3241, allocations: 1.069 MB / 400.5 MB, free: 37.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3241, allocations: 0 / 400.5 MB, free: 37.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001409/0.3255, allocations: 389.8 kB / 400.9 MB, free: 37.57 MB / 318.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.002155/0.3277, allocations: 2.354 MB / 403.2 MB, free: 36.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.3298, allocations: 1.707 MB / 404.9 MB, free: 35.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3298, allocations: 0 / 404.9 MB, free: 35.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009401/0.3307, allocations: 0.8617 MB / 405.8 MB, free: 34.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.3323, allocations: 412.6 kB / 406.2 MB, free: 33.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.3502, allocations: 17.31 MB / 423.5 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.3509, allocations: 1.479 MB / 425 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009133/0.3518, allocations: 349.5 kB / 425.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005959/0.3524, allocations: 0.6203 MB / 425.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3524, allocations: 0 / 425.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05928/0.4117, allocations: 35.54 MB / 461.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.4119, allocations: 280.5 kB / 461.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/2.961, allocations: 3.906 kB / 461.8 MB, free: 8.41 MB / 350.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","../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