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.001023/0.001023, allocations: 96.86 kB / 17.58 MB, free: 5.418 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.001116/0.001116, allocations: 192 kB / 18.51 MB, free: 4.508 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.259/1.259, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001176/0.001176, allocations: 55.92 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07591/0.0771, allocations: 46.64 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.009381/0.08651, allocations: 8.961 MB / 336.4 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004678/0.09121, allocations: 3.206 MB / 339.6 MB, free: 8.129 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005667/0.0918, allocations: 35.88 kB / 339.6 MB, free: 8.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.09309, allocations: 0.6755 MB / 340.3 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.09446, allocations: 0.6911 MB / 341 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005626/0.09504, allocations: 339.4 kB / 341.3 MB, free: 6.387 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001974/0.09702, allocations: 2.094 MB / 343.4 MB, free: 4.285 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.0984, allocations: 1.398 MB / 344.8 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009728/0.09938, allocations: 0.907 MB / 345.7 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.1006, allocations: 1.129 MB / 346.8 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.1008, allocations: 232 kB / 347 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.1014, allocations: 315.8 kB / 347.4 MB, free: 268 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000552/0.1019, allocations: 0.6778 MB / 348 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009019/0.1028, allocations: 1.081 MB / 349.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.1051, allocations: 3.08 MB / 352.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1051, allocations: 0 / 352.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1051, allocations: 0 / 352.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.1051, allocations: 4 kB / 352.2 MB, free: 11.4 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.003486/0.1086, allocations: 2.258 MB / 354.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1087, allocations: 12.03 kB / 354.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.1089, allocations: 232.3 kB / 354.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005138/0.1094, allocations: 222.5 kB / 354.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.111, allocations: 1.153 MB / 356.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/0.1111, allocations: 119.2 kB / 356.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.1113, allocations: 151.9 kB / 356.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.114, allocations: 2.008 MB / 358.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.114, allocations: 3.906 kB / 358.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.1142, allocations: 64 kB / 358.4 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.783e-05/0.1143, allocations: 78.91 kB / 358.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.1167, allocations: 1.647 MB / 360.1 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008726/0.1254, allocations: 6.952 MB / 367.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.1262, allocations: 444.6 kB / 367.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.1265, allocations: 258 kB / 367.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.1267, allocations: 121.5 kB / 367.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1268, allocations: 43.41 kB / 367.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 3.236e-06/0.1268, allocations: 7.984 kB / 367.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.006751/0.1336, allocations: 3.282 MB / 371.2 MB, free: 7.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002795/0.1364, allocations: 2.338 MB / 373.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.1386, allocations: 1.611 MB / 375.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.921e-05/0.1387, allocations: 37.7 kB / 375.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007463/0.1395, allocations: 1.022 MB / 376.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.1397, allocations: 236.9 kB / 376.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/0.1401, allocations: 319.1 kB / 376.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1402, allocations: 313 kB / 377.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007221/0.1409, allocations: 0.5192 MB / 377.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1284/0.2693, allocations: 1.461 MB / 379.1 MB, free: 50.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.2714, allocations: 2.134 MB / 381.2 MB, free: 49.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.831e-05/0.2715, allocations: 13.91 kB / 381.2 MB, free: 49.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003602/0.2751, allocations: 2.155 MB / 383.4 MB, free: 48.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.2751, allocations: 19.83 kB / 383.4 MB, free: 48.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.042e-05/0.2752, allocations: 34.34 kB / 383.4 MB, free: 48.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.2757, allocations: 224.1 kB / 383.6 MB, free: 48.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.2769, allocations: 400.5 kB / 384 MB, free: 48.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.2782, allocations: 1.848 MB / 385.9 MB, free: 46.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.2795, allocations: 135.6 kB / 386 MB, free: 46.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.2796, allocations: 94.58 kB / 386.1 MB, free: 46.8 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.0009455/0.2806, allocations: 0.5891 MB / 386.7 MB, free: 46.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/0.2809, allocations: 151.6 kB / 386.8 MB, free: 46.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.283, allocations: 1.115 MB / 387.9 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.2831, allocations: 6.906 kB / 387.9 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2831, allocations: 1.094 kB / 388 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.2831, allocations: 4.203 kB / 388 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006056/0.2892, allocations: 3.393 MB / 391.3 MB, free: 44.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.2892, allocations: 4.875 kB / 391.4 MB, free: 44.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.2897, allocations: 111.3 kB / 391.5 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006291/0.2903, allocations: 225.6 kB / 391.7 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.2904, allocations: 18.22 kB / 391.7 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003066/0.2934, allocations: 4.063 MB / 395.8 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001571/0.295, allocations: 2.183 MB / 397.9 MB, free: 39.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.2974, allocations: 1.742 MB / 399.7 MB, free: 38.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005882/0.298, allocations: 310.2 kB / 400 MB, free: 38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.2982, allocations: 17.62 kB / 400 MB, free: 38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006414/0.2988, allocations: 47.66 kB / 400.1 MB, free: 37.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.299, allocations: 68.61 kB / 400.1 MB, free: 37.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.299, allocations: 21.88 kB / 400.1 MB, free: 37.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001385/0.3004, allocations: 1.076 MB / 401.2 MB, free: 37.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3004, allocations: 0 / 401.2 MB, free: 37.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001648/0.3021, allocations: 382.6 kB / 401.6 MB, free: 37.51 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.002278/0.3044, allocations: 2.361 MB / 404 MB, free: 35.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.3065, allocations: 1.71 MB / 405.7 MB, free: 35.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.3066, allocations: 1.969 kB / 405.7 MB, free: 35.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009757/0.3076, allocations: 0.8492 MB / 406.5 MB, free: 34.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.3092, allocations: 416.3 kB / 406.9 MB, free: 33.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.3241, allocations: 16.73 MB / 423.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/0.3249, allocations: 1.465 MB / 425.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009423/0.3258, allocations: 350 kB / 425.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005919/0.3264, allocations: 0.6243 MB / 426.1 MB, free: 12.83 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3264, allocations: 4 kB / 426.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06542/0.3919, allocations: 35.61 MB / 461.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.6, allocations: 8.312 kB / 461.7 MB, free: 9.094 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","/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