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.001803/0.001803, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.00199/0.00199, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.458/1.458, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001489/0.001489, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.2103/0.3147, allocations: 9.144 MB / 435.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005586/0.3203, allocations: 3.195 MB / 438.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.3217, allocations: 56.22 kB / 438.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.3239, allocations: 0.7181 MB / 439.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.3264, allocations: 0.7553 MB / 440.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009566/0.3274, allocations: 315.2 kB / 440.5 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003046/0.3304, allocations: 2.152 MB / 442.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.3319, allocations: 1.022 MB / 443.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.3336, allocations: 0.9486 MB / 444.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.3357, allocations: 1.171 MB / 445.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004999/0.3362, allocations: 239.9 kB / 446 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009365/0.3371, allocations: 334.2 kB / 446.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006906/0.3378, allocations: 0.6904 MB / 447 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.3391, allocations: 1.092 MB / 448.1 MB, free: 412 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004351/0.3435, allocations: 3.151 MB / 451.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3435, allocations: 0.9688 kB / 451.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3435, allocations: 0 / 451.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.814e-05/0.3436, allocations: 0 / 451.3 MB, free: 15.27 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.005826/0.3494, allocations: 2.362 MB / 453.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3494, allocations: 9.281 kB / 453.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00039/0.3498, allocations: 233.1 kB / 453.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007981/0.3506, allocations: 242.7 kB / 454.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.3531, allocations: 1.24 MB / 455.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.3532, allocations: 121.3 kB / 455.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.3534, allocations: 157.1 kB / 455.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/0.3572, allocations: 2.03 MB / 457.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.245e-05/0.3573, allocations: 7.609 kB / 457.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.3575, allocations: 66.23 kB / 457.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-05/0.3575, allocations: 79.14 kB / 457.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/0.3607, allocations: 1.672 MB / 459.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.3732, allocations: 7.06 MB / 466.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.3746, allocations: 451.7 kB / 467 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007082/0.3753, allocations: 263.4 kB / 467.2 MB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003529/0.3756, allocations: 124.7 kB / 467.4 MB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.3757, allocations: 37.38 kB / 467.4 MB, free: 4.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.987e-06/0.3757, allocations: 0 / 467.4 MB, free: 4.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.01171/0.3874, allocations: 3.056 MB / 470.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.3875, allocations: 62.47 kB / 470.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003866/0.3913, allocations: 1.632 MB / 472.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.3915, allocations: 36.48 kB / 472.2 MB, free: 1.598 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.3927, allocations: 1.063 MB / 473.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.3931, allocations: 252.4 kB / 473.5 MB, free: 444 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006692/0.3937, allocations: 320.7 kB / 473.8 MB, free: 252 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3939, allocations: 301.1 kB / 474.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.3954, allocations: 0.5341 MB / 474.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/0.398, allocations: 1.452 MB / 476.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004789/0.4028, allocations: 2.134 MB / 478.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.967e-05/0.4028, allocations: 13 kB / 478.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00629/0.4091, allocations: 2.165 MB / 480.4 MB, free: 9.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.4092, allocations: 20 kB / 480.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.912e-05/0.4092, allocations: 36.12 kB / 480.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008136/0.41, allocations: 230.4 kB / 480.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.4118, allocations: 395.3 kB / 481.1 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.4143, allocations: 1.847 MB / 482.9 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.4161, allocations: 155.6 kB / 483.1 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.4163, allocations: 92 kB / 483.1 MB, free: 6.387 MB / 382.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.001097/0.4174, allocations: 0.5905 MB / 483.7 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003901/0.4178, allocations: 163 kB / 483.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.42, allocations: 1.087 MB / 485 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.42, allocations: 8 kB / 485 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4201, allocations: 7.984 kB / 485 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4201, allocations: 0 / 485 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005739/0.4258, allocations: 2.75 MB / 487.8 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4258, allocations: 4 kB / 487.8 MB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.4264, allocations: 119.8 kB / 487.9 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/0.4269, allocations: 166.6 kB / 488 MB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.4269, allocations: 12 kB / 488 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.4289, allocations: 1.784 MB / 489.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.4289, allocations: 5.5 kB / 489.8 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.432, allocations: 1.64 MB / 491.5 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009895/0.433, allocations: 311.9 kB / 491.8 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.4332, allocations: 19.98 kB / 491.8 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007536/0.4339, allocations: 51.94 kB / 491.9 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.4341, allocations: 48.38 kB / 491.9 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.4341, allocations: 20.06 kB / 491.9 MB, free: 13.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001813/0.436, allocations: 1.083 MB / 493 MB, free: 12.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.436, allocations: 0 / 493 MB, free: 12.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001677/0.4376, allocations: 360 kB / 493.4 MB, free: 11.85 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.003435/0.4411, allocations: 2.256 MB / 495.6 MB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.444, allocations: 1.572 MB / 497.2 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.444, allocations: 4.062 kB / 497.2 MB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.4453, allocations: 0.7241 MB / 497.9 MB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.4473, allocations: 413.9 kB / 498.3 MB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02484/0.4721, allocations: 14.98 MB / 0.5013 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.4735, allocations: 1.461 MB / 0.5027 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001069/0.4746, allocations: 356.8 kB / 0.503 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000923/0.4755, allocations: 0.6438 MB / 0.5037 GB, free: 4.18 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4755, allocations: 3.938 kB / 0.5037 GB, free: 4.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08455/0.5601, allocations: 35.77 MB / 0.5386 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.09, allocations: 6 kB / 0.5386 GB, free: 0.8047 MB / 446.1 MB " [Timeout remaining time 647] (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: 15.729776562991901]