Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_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.001318/0.001318, allocations: 114.2 kB / 17.07 MB, free: 5.945 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.001299/0.0013, allocations: 197.4 kB / 18.01 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 47.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2329, allocations: 49.44 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.0107/0.2436, allocations: 8.986 MB / 409.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006049/0.2497, allocations: 3.154 MB / 412.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009524/0.2507, allocations: 47.81 kB / 412.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.2526, allocations: 0.659 MB / 413.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.2546, allocations: 0.6989 MB / 413.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007351/0.2553, allocations: 331.4 kB / 414.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.2577, allocations: 2.103 MB / 416.2 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.2594, allocations: 1.421 MB / 417.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.2607, allocations: 0.9225 MB / 418.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.2622, allocations: 1.121 MB / 419.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003328/0.2626, allocations: 232 kB / 419.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.2632, allocations: 319.8 kB / 420.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006959/0.2639, allocations: 0.67 MB / 420.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.2651, allocations: 1.081 MB / 422 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003305/0.2684, allocations: 3.118 MB / 425.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2684, allocations: 0 / 425.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2684, allocations: 0 / 425.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.989e-05/0.2685, allocations: 0 / 425.1 MB, free: 15.8 MB / 350.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.004317/0.2728, allocations: 2.318 MB / 427.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2728, allocations: 8.031 kB / 427.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002996/0.2731, allocations: 236.3 kB / 427.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006167/0.2738, allocations: 247.5 kB / 427.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.2758, allocations: 1.22 MB / 429.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/0.2759, allocations: 123.2 kB / 429.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.2761, allocations: 152 kB / 429.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003252/0.2794, allocations: 2 MB / 431.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.256e-05/0.2794, allocations: 11.95 kB / 431.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.2796, allocations: 63.98 kB / 431.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.013e-05/0.2797, allocations: 82.86 kB / 431.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/0.2825, allocations: 1.647 MB / 433.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009824/0.2924, allocations: 6.911 MB / 440.1 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.2932, allocations: 445.1 kB / 440.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.2937, allocations: 266 kB / 440.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/0.2939, allocations: 117.5 kB / 440.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.2939, allocations: 35 kB / 440.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.766e-06/0.294, allocations: 0 / 440.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007263/0.3012, allocations: 3.319 MB / 444.3 MB, free: 12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002552/0.3038, allocations: 2.334 MB / 446.6 MB, free: 9.504 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.3061, allocations: 1.62 MB / 448.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/0.3062, allocations: 37.7 kB / 448.2 MB, free: 7.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/0.307, allocations: 1.049 MB / 449.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.3073, allocations: 254 kB / 449.5 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004368/0.3077, allocations: 323.3 kB / 449.9 MB, free: 6.203 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3078, allocations: 309 kB / 450.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008607/0.3087, allocations: 0.5192 MB / 450.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.3103, allocations: 1.468 MB / 452.1 MB, free: 3.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002554/0.3129, allocations: 2.134 MB / 454.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/0.3129, allocations: 11.98 kB / 454.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003723/0.3166, allocations: 2.17 MB / 456.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.3167, allocations: 20 kB / 456.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/0.3167, allocations: 32 kB / 456.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005597/0.3173, allocations: 226.4 kB / 456.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.3185, allocations: 395.2 kB / 457.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.3203, allocations: 1.852 MB / 459 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.3217, allocations: 139.7 kB / 459.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.3219, allocations: 99.98 kB / 459.2 MB, free: 11.74 MB / 382.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.0008963/0.3228, allocations: 0.5866 MB / 459.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.3231, allocations: 163 kB / 460 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.3251, allocations: 1.11 MB / 461.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3251, allocations: 8 kB / 461.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3251, allocations: 0 / 461.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3251, allocations: 0 / 461.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005412/0.3305, allocations: 3.39 MB / 464.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.3306, allocations: 4 kB / 464.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.331, allocations: 111.8 kB / 464.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000638/0.3317, allocations: 230.9 kB / 464.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.3317, allocations: 20 kB / 464.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004273/0.336, allocations: 4.054 MB / 468.9 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00218/0.3382, allocations: 2.165 MB / 471 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/0.3409, allocations: 1.755 MB / 472.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005725/0.3415, allocations: 319.9 kB / 473.1 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.3417, allocations: 20 kB / 473.1 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006505/0.3423, allocations: 51.88 kB / 473.2 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.3425, allocations: 63.86 kB / 473.2 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.3425, allocations: 24 kB / 473.3 MB, free: 12.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001598/0.3442, allocations: 1.07 MB / 474.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3442, allocations: 0 / 474.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001535/0.3457, allocations: 383.9 kB / 474.7 MB, free: 11.5 MB / 398.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.003071/0.3488, allocations: 2.371 MB / 477.1 MB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.3513, allocations: 1.617 MB / 478.7 MB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3514, allocations: 0 / 478.7 MB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.3527, allocations: 0.8557 MB / 479.5 MB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.3546, allocations: 414.9 kB / 480 MB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/0.3757, allocations: 15.3 MB / 495.3 MB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.377, allocations: 1.476 MB / 496.7 MB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009969/0.378, allocations: 346 kB / 497.1 MB, free: 3.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008313/0.3789, allocations: 0.6164 MB / 497.7 MB, free: 3.055 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3789, allocations: 4 kB / 497.7 MB, free: 3.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3785/0.7573, allocations: 36.29 MB / 0.5215 GB, free: 15.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.56/18.31, allocations: 25.55 kB / 0.5215 GB, free: 15.16 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.04 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches