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.000823/0.0008231, allocations: 93.08 kB / 17.3 MB, free: 6.387 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.0009695/0.0009696, allocations: 174.8 kB / 18.21 MB, free: 5.551 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.52/1.52, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004234/0.0004234, allocations: 15.12 kB / 281.5 MB, free: 3.312 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09092, allocations: 47.57 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.009307/0.1003, allocations: 8.419 MB / 337.5 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005766/0.1061, allocations: 3.144 MB / 340.6 MB, free: 8.047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1072, allocations: 35.81 kB / 340.7 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.1087, allocations: 0.6022 MB / 341.3 MB, free: 7.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.111, allocations: 0.6217 MB / 341.9 MB, free: 6.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008822/0.1119, allocations: 291.6 kB / 342.2 MB, free: 6.496 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002572/0.1145, allocations: 2.436 MB / 344.6 MB, free: 4.055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.116, allocations: 1.156 MB / 345.8 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.117, allocations: 0.7117 MB / 346.5 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.1183, allocations: 0.988 MB / 347.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.1185, allocations: 107.9 kB / 347.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.1191, allocations: 203.8 kB / 347.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005633/0.1196, allocations: 0.5333 MB / 348.3 MB, free: 316 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009762/0.1206, allocations: 0.9421 MB / 349.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.1233, allocations: 2.927 MB / 352.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1233, allocations: 0 / 352.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1233, allocations: 0 / 352.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.1234, allocations: 0 / 352.2 MB, free: 12.42 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.003372/0.1267, allocations: 1.915 MB / 354.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1268, allocations: 12.03 kB / 354.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002897/0.1271, allocations: 232.3 kB / 354.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005803/0.1277, allocations: 230.4 kB / 354.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.1294, allocations: 1.157 MB / 355.7 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/0.1295, allocations: 115.2 kB / 355.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.1297, allocations: 151.9 kB / 356 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/0.1329, allocations: 2.004 MB / 358 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/0.133, allocations: 4 kB / 358 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.1331, allocations: 60 kB / 358 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-05/0.1332, allocations: 78.86 kB / 358.1 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.1357, allocations: 1.655 MB / 359.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009229/0.145, allocations: 6.979 MB / 366.7 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007408/0.1458, allocations: 440.5 kB / 367.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.1461, allocations: 258.6 kB / 367.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.1464, allocations: 121.5 kB / 367.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1464, allocations: 35 kB / 367.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 4.429e-06/0.1464, allocations: 7.984 kB / 367.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.006827/0.1532, allocations: 3.296 MB / 370.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002302/0.1556, allocations: 2.178 MB / 373.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.158, allocations: 1.611 MB / 374.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.1581, allocations: 33.7 kB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007745/0.1589, allocations: 1.018 MB / 375.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.1591, allocations: 240.9 kB / 376 MB, free: 3.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.1593, allocations: 133.7 kB / 376.1 MB, free: 3.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1594, allocations: 305.1 kB / 376.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007859/0.1602, allocations: 0.5114 MB / 376.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.1617, allocations: 1.465 MB / 378.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1822/0.344, allocations: 2.139 MB / 380.5 MB, free: 48.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.957e-05/0.344, allocations: 10.34 kB / 380.5 MB, free: 48.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004233/0.3483, allocations: 2.156 MB / 382.7 MB, free: 48.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.3483, allocations: 22.47 kB / 382.7 MB, free: 48.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-05/0.3484, allocations: 33.19 kB / 382.7 MB, free: 48.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/0.3489, allocations: 228.5 kB / 382.9 MB, free: 48.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.35, allocations: 396.3 kB / 383.3 MB, free: 48.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.3515, allocations: 1.718 MB / 385.1 MB, free: 46.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.353, allocations: 140.2 kB / 385.2 MB, free: 46.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.3532, allocations: 98.52 kB / 385.3 MB, free: 46.79 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.001058/0.3543, allocations: 0.5841 MB / 385.9 MB, free: 46.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.3545, allocations: 151.1 kB / 386 MB, free: 46.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.3565, allocations: 1.115 MB / 387.1 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.3566, allocations: 5.625 kB / 387.1 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3566, allocations: 2.125 kB / 387.1 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3566, allocations: 3.422 kB / 387.1 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005674/0.3623, allocations: 3.386 MB / 390.5 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.3623, allocations: 4.812 kB / 390.5 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.3627, allocations: 113.6 kB / 390.6 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006741/0.3634, allocations: 228 kB / 390.9 MB, free: 44.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.3635, allocations: 23.36 kB / 390.9 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/0.3669, allocations: 3.697 MB / 394.6 MB, free: 41.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001605/0.3685, allocations: 2.027 MB / 396.6 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/0.3714, allocations: 1.734 MB / 398.3 MB, free: 38.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007143/0.3721, allocations: 309.9 kB / 398.6 MB, free: 38.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.3723, allocations: 17.94 kB / 398.7 MB, free: 38.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006388/0.373, allocations: 54.39 kB / 398.7 MB, free: 38.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.3731, allocations: 64.02 kB / 398.8 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.3732, allocations: 23.25 kB / 398.8 MB, free: 38.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001763/0.375, allocations: 1.072 MB / 399.9 MB, free: 38.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.375, allocations: 0 / 399.9 MB, free: 38.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001956/0.3769, allocations: 387.6 kB / 400.3 MB, free: 38.11 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.00272/0.3797, allocations: 2.357 MB / 402.6 MB, free: 36.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.3819, allocations: 1.6 MB / 404.2 MB, free: 35.74 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3819, allocations: 4.094 kB / 404.2 MB, free: 35.74 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009876/0.3829, allocations: 0.841 MB / 405.1 MB, free: 35.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/0.3856, allocations: 389 kB / 405.4 MB, free: 34.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/0.4074, allocations: 17.36 MB / 422.8 MB, free: 15.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009981/0.4084, allocations: 1.472 MB / 424.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001212/0.4097, allocations: 350 kB / 424.6 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007722/0.4104, allocations: 0.6203 MB / 425.2 MB, free: 13.38 MB / 318.1 MB Notification: Performance of SimCode: time 3.517e-06/0.4105, allocations: 0 / 425.2 MB, free: 13.38 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07197/0.4824, allocations: 34.28 MB / 459.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/0.4827, allocations: 283.5 kB / 459.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.224, allocations: 4.062 kB / 459.8 MB, free: 10.66 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