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.0009771/0.0009771, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.0009455/0.0009455, allocations: 198 kB / 18.07 MB, free: 5.41 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.253/1.253, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001163/0.001163, allocations: 51.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09593, allocations: 46.64 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.009607/0.1056, allocations: 8.913 MB / 335.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00518/0.1108, allocations: 3.187 MB / 338.8 MB, free: 8.625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006825/0.1115, allocations: 35.81 kB / 338.8 MB, free: 8.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.113, allocations: 0.5983 MB / 339.4 MB, free: 7.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.1146, allocations: 0.6333 MB / 340.1 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.1152, allocations: 283.7 kB / 340.4 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.1175, allocations: 2.429 MB / 342.8 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.1189, allocations: 1.16 MB / 343.9 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009883/0.1199, allocations: 0.7975 MB / 344.7 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.1211, allocations: 1.097 MB / 345.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.1213, allocations: 148 kB / 346 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.1219, allocations: 239.8 kB / 346.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000546/0.1224, allocations: 0.588 MB / 346.8 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009304/0.1234, allocations: 0.9834 MB / 347.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.1257, allocations: 3.006 MB / 350.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1257, allocations: 0 / 350.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1257, allocations: 0 / 350.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.1257, allocations: 0 / 350.8 MB, free: 12.56 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.003952/0.1297, allocations: 2.269 MB / 353.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1298, allocations: 8.031 kB / 353.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002596/0.13, allocations: 236.3 kB / 353.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005718/0.1306, allocations: 222.5 kB / 353.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.1324, allocations: 1.149 MB / 354.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-05/0.1325, allocations: 115.2 kB / 354.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.1327, allocations: 159.9 kB / 354.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.1358, allocations: 2.008 MB / 356.9 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.045e-05/0.1359, allocations: 3.906 kB / 356.9 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.136, allocations: 67.94 kB / 357 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.903e-05/0.1361, allocations: 82.91 kB / 357.1 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/0.1388, allocations: 1.643 MB / 358.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009161/0.1479, allocations: 6.952 MB / 365.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007208/0.1487, allocations: 444.8 kB / 366.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.149, allocations: 262 kB / 366.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.1493, allocations: 113.5 kB / 366.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1493, allocations: 43 kB / 366.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.485e-06/0.1493, allocations: 3.938 kB / 366.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.006653/0.156, allocations: 3.284 MB / 369.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002292/0.1583, allocations: 2.166 MB / 372 MB, free: 6.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.1606, allocations: 1.615 MB / 373.6 MB, free: 4.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.222e-05/0.1607, allocations: 37.7 kB / 373.6 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/0.1615, allocations: 1.022 MB / 374.7 MB, free: 3.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.1617, allocations: 232.9 kB / 374.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004309/0.1621, allocations: 319.1 kB / 375.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1622, allocations: 313.2 kB / 375.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007709/0.163, allocations: 0.5192 MB / 376 MB, free: 2.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.1646, allocations: 1.457 MB / 377.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1588/0.3234, allocations: 2.138 MB / 379.6 MB, free: 49.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-05/0.3235, allocations: 9.625 kB / 379.6 MB, free: 49.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003595/0.3271, allocations: 2.154 MB / 381.8 MB, free: 48.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.3271, allocations: 22.66 kB / 381.8 MB, free: 48.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/0.3272, allocations: 33.03 kB / 381.8 MB, free: 48.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004951/0.3277, allocations: 232.8 kB / 382.1 MB, free: 48.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.3288, allocations: 391.9 kB / 382.4 MB, free: 48.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.33, allocations: 1.717 MB / 384.2 MB, free: 47.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.3313, allocations: 135.4 kB / 384.3 MB, free: 47.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.3314, allocations: 95.42 kB / 384.4 MB, free: 47.18 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.000823/0.3322, allocations: 0.5979 MB / 385 MB, free: 46.83 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.3325, allocations: 149.1 kB / 385.1 MB, free: 46.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.3343, allocations: 1.115 MB / 386.2 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3343, allocations: 6.75 kB / 386.3 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3343, allocations: 0 / 386.3 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3344, allocations: 4.453 kB / 386.3 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004942/0.3393, allocations: 3.394 MB / 389.7 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.3393, allocations: 4.812 kB / 389.7 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.3398, allocations: 111.5 kB / 389.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000651/0.3404, allocations: 229.1 kB / 390 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.3405, allocations: 18.25 kB / 390 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.3434, allocations: 3.708 MB / 393.7 MB, free: 41.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001431/0.3448, allocations: 2.021 MB / 395.7 MB, free: 39.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.3471, allocations: 1.744 MB / 397.5 MB, free: 39.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.3476, allocations: 301.5 kB / 397.8 MB, free: 38.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.3477, allocations: 18.47 kB / 397.8 MB, free: 38.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/0.3484, allocations: 54.23 kB / 397.8 MB, free: 38.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.3485, allocations: 66.17 kB / 397.9 MB, free: 38.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.3486, allocations: 29.59 kB / 397.9 MB, free: 38.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001409/0.35, allocations: 1.073 MB / 399 MB, free: 38.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.35, allocations: 4 kB / 399 MB, free: 38.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001477/0.3515, allocations: 378.2 kB / 399.4 MB, free: 38.34 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.002149/0.3536, allocations: 2.356 MB / 401.7 MB, free: 36.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.3557, allocations: 1.606 MB / 403.3 MB, free: 36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.3557, allocations: 2.156 kB / 403.4 MB, free: 36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009738/0.3567, allocations: 0.8423 MB / 404.2 MB, free: 35.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.3584, allocations: 393.7 kB / 404.6 MB, free: 35.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/0.378, allocations: 17.31 MB / 421.9 MB, free: 16.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/0.3789, allocations: 1.469 MB / 423.4 MB, free: 14.76 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001026/0.3799, allocations: 350 kB / 423.7 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/0.3805, allocations: 0.6164 MB / 424.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3805, allocations: 3.938 kB / 424.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05154/0.4321, allocations: 34.67 MB / 459 MB, free: 11.03 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.4323, allocations: 276.2 kB / 459.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/3.12, allocations: 2.953 kB / 459.3 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