Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002551/0.002551, allocations: 212 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 47.94 kB / 377.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2576, allocations: 53.37 MB / 431.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01111/0.2687, allocations: 8.084 MB / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006437/0.2752, allocations: 2.977 MB / 442.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.2764, allocations: 55.62 kB / 442.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.2783, allocations: 0.6556 MB / 442.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.2804, allocations: 0.769 MB / 443.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007276/0.2811, allocations: 319.5 kB / 443.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002393/0.2835, allocations: 2.14 MB / 446.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.2847, allocations: 0.8013 MB / 446.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.286, allocations: 0.9499 MB / 447.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.2876, allocations: 1.101 MB / 448.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003228/0.2879, allocations: 232 kB / 449.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.2885, allocations: 323.8 kB / 449.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000699/0.2892, allocations: 0.6893 MB / 450.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009447/0.2902, allocations: 0.879 MB / 451 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003359/0.2935, allocations: 3.172 MB / 454.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2935, allocations: 3.938 kB / 454.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2935, allocations: 4 kB / 454.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.594e-05/0.2936, allocations: 0 / 454.2 MB, free: 15.41 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.004827/0.2984, allocations: 2.282 MB / 456.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2984, allocations: 8.031 kB / 456.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003083/0.2988, allocations: 240.4 kB / 456.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000654/0.2994, allocations: 235.6 kB / 457 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.3017, allocations: 1.176 MB / 458.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.3018, allocations: 119.2 kB / 458.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.302, allocations: 160 kB / 458.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/0.3054, allocations: 2.1 MB / 460.5 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.225e-05/0.3054, allocations: 11.94 kB / 460.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.3056, allocations: 64 kB / 460.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.276e-05/0.3057, allocations: 74.94 kB / 460.7 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/0.3085, allocations: 1.674 MB / 462.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009982/0.3185, allocations: 6.419 MB / 468.8 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.3194, allocations: 453.6 kB / 469.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/0.3199, allocations: 266 kB / 469.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.3201, allocations: 40.41 kB / 469.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.3201, allocations: 39 kB / 469.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.564e-06/0.3201, allocations: 0 / 469.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007023/0.3272, allocations: 2.911 MB / 472.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.3272, allocations: 64 kB / 472.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.3298, allocations: 1.679 MB / 474.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.3298, allocations: 41.7 kB / 474.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009136/0.3307, allocations: 1.064 MB / 475.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.331, allocations: 254 kB / 475.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/0.3315, allocations: 319.3 kB / 475.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.3317, allocations: 301.1 kB / 476.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009304/0.3326, allocations: 0.5231 MB / 476.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.3344, allocations: 1.45 MB / 478.1 MB, free: 6.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.3373, allocations: 2.132 MB / 480.3 MB, free: 3.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/0.3374, allocations: 12 kB / 480.3 MB, free: 3.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003846/0.3412, allocations: 2.171 MB / 482.5 MB, free: 1.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.3412, allocations: 20 kB / 482.5 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/0.3413, allocations: 32 kB / 482.5 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.3419, allocations: 222.4 kB / 482.7 MB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.343, allocations: 407.5 kB / 483.1 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.345, allocations: 1.729 MB / 484.8 MB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.3464, allocations: 143.7 kB / 485 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.3466, allocations: 96 kB / 485.1 MB, free: 14.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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.0009465/0.3475, allocations: 0.5944 MB / 485.7 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.3478, allocations: 159 kB / 485.8 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.3499, allocations: 1.097 MB / 486.9 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3499, allocations: 4 kB / 486.9 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3499, allocations: 0 / 486.9 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3499, allocations: 11.92 kB / 486.9 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004691/0.3546, allocations: 2.571 MB / 489.5 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3546, allocations: 0 / 489.5 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.3551, allocations: 119.8 kB / 489.6 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000438/0.3555, allocations: 170.4 kB / 489.8 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.3556, allocations: 16.16 kB / 489.8 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.3573, allocations: 1.678 MB / 491.5 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.3573, allocations: 7.969 kB / 491.5 MB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.3601, allocations: 1.65 MB / 493.1 MB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/0.3608, allocations: 226.9 kB / 493.4 MB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.361, allocations: 12 kB / 493.4 MB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.3617, allocations: 51.94 kB / 493.4 MB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.3618, allocations: 56.41 kB / 493.5 MB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.3618, allocations: 20 kB / 493.5 MB, free: 6.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001646/0.3635, allocations: 1.079 MB / 494.6 MB, free: 5.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3635, allocations: 0 / 494.6 MB, free: 5.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001351/0.3648, allocations: 363.9 kB / 494.9 MB, free: 4.734 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.phi) * 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 (60): * Single equations (assignments): 57 * 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 Backend phase and start with SimCode phase: time 0.003256/0.3681, allocations: 2.253 MB / 497.2 MB, free: 2.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.3708, allocations: 1.413 MB / 498.6 MB, free: 1.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3708, allocations: 0 / 498.6 MB, free: 1.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.3719, allocations: 0.5731 MB / 499.2 MB, free: 428 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.3738, allocations: 415.2 kB / 499.6 MB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0251/0.3989, allocations: 14.98 MB / 0.5025 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.4002, allocations: 0.8859 MB / 0.5034 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00112/0.4013, allocations: 362 kB / 0.5037 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.4023, allocations: 0.636 MB / 0.5043 GB, free: 14 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4023, allocations: 0 / 0.5043 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.278/0.6803, allocations: 38.03 MB / 0.5415 GB, free: 105.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.59, allocations: 9.172 kB / 0.5415 GB, free: 105.9 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv --start-time 0 --stop-time 0.32 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! Error: Could not read variable toSpacePhasor.y[1] in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable toSpacePhasor.y[1] from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! Error: Could not read variable toSpacePhasor.y[2] in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable toSpacePhasor.y[2] from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! Error: Could not read variable hallSensor.y in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable hallSensor.y from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.110714443959296]