Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001791/0.001791, allocations: 131.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002257/0.002257, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 55.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1257, allocations: 53.38 MB / 426.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.232/0.3577, allocations: 9.154 MB / 435.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005202/0.3629, allocations: 3.191 MB / 438.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.3645, allocations: 56.88 kB / 438.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.3667, allocations: 0.7205 MB / 439.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.3693, allocations: 0.7538 MB / 440.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.3703, allocations: 316.3 kB / 440.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003111/0.3734, allocations: 2.146 MB / 442.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.3748, allocations: 1.022 MB / 443.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.3767, allocations: 0.9604 MB / 444.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.3787, allocations: 1.166 MB / 445.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004813/0.3792, allocations: 232.2 kB / 446.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009649/0.3801, allocations: 335.4 kB / 446.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007636/0.3809, allocations: 0.6885 MB / 447.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.3824, allocations: 1.096 MB / 448.2 MB, free: 204 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004938/0.3873, allocations: 3.15 MB / 451.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3873, allocations: 0 / 451.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3873, allocations: 9.188 kB / 451.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.376e-05/0.3874, allocations: 0 / 451.3 MB, free: 15.06 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.006029/0.3935, allocations: 2.349 MB / 453.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.3935, allocations: 9.844 kB / 453.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004246/0.3939, allocations: 241.7 kB / 453.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008756/0.3948, allocations: 244.9 kB / 454.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.3973, allocations: 1.236 MB / 455.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.951e-05/0.3974, allocations: 118.7 kB / 455.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.3977, allocations: 160.8 kB / 455.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003774/0.4015, allocations: 2.024 MB / 457.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/0.4015, allocations: 10.64 kB / 457.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.4017, allocations: 71.09 kB / 457.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.956e-05/0.4018, allocations: 80.52 kB / 457.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.4049, allocations: 1.681 MB / 459.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.416, allocations: 7.046 MB / 466.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009127/0.4169, allocations: 452.5 kB / 467 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004777/0.4174, allocations: 264.8 kB / 467.3 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.4176, allocations: 119.2 kB / 467.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4177, allocations: 37.91 kB / 467.4 MB, free: 4.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/0.4177, allocations: 3.938 kB / 467.4 MB, free: 4.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007646/0.4253, allocations: 3.061 MB / 470.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.4254, allocations: 56.88 kB / 470.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.4279, allocations: 1.631 MB / 472.2 MB, free: 1.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.365e-05/0.428, allocations: 36.45 kB / 472.2 MB, free: 1.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008833/0.4289, allocations: 1.068 MB / 473.3 MB, free: 440 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.4291, allocations: 244.7 kB / 473.5 MB, free: 228 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004698/0.4296, allocations: 322.9 kB / 473.9 MB, free: 32 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4297, allocations: 310.5 kB / 474.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009356/0.4307, allocations: 0.5182 MB / 474.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.4324, allocations: 1.457 MB / 476.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002907/0.4353, allocations: 2.137 MB / 478.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/0.4353, allocations: 8 kB / 478.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004188/0.4395, allocations: 2.169 MB / 480.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.4395, allocations: 20 kB / 480.5 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/0.4396, allocations: 32 kB / 480.5 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006094/0.4402, allocations: 222.8 kB / 480.7 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.4414, allocations: 407.2 kB / 481.1 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.4434, allocations: 1.842 MB / 483 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.4451, allocations: 151.2 kB / 483.1 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.4453, allocations: 92 kB / 483.2 MB, free: 6.152 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.00106/0.4463, allocations: 0.5983 MB / 483.8 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/0.4467, allocations: 159 kB / 483.9 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.4489, allocations: 1.095 MB / 485 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.4489, allocations: 5.406 kB / 485 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4489, allocations: 4 kB / 485.1 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4489, allocations: 0 / 485.1 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005424/0.4543, allocations: 2.75 MB / 487.8 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4543, allocations: 0 / 487.8 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/0.4549, allocations: 124 kB / 487.9 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/0.4553, allocations: 166.4 kB / 488.1 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.4554, allocations: 19.98 kB / 488.1 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.4573, allocations: 1.783 MB / 489.9 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4573, allocations: 4 kB / 489.9 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.4604, allocations: 1.637 MB / 491.5 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008524/0.4612, allocations: 315.9 kB / 491.8 MB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.4614, allocations: 12 kB / 491.8 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/0.4621, allocations: 52 kB / 491.9 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.4622, allocations: 54.94 kB / 492 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.4623, allocations: 16 kB / 492 MB, free: 13.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001785/0.464, allocations: 1.079 MB / 493 MB, free: 11.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.464, allocations: 3.938 kB / 493 MB, free: 11.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001694/0.4657, allocations: 356 kB / 493.4 MB, free: 11.62 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.003488/0.4692, allocations: 2.257 MB / 495.7 MB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003052/0.4723, allocations: 1.571 MB / 497.2 MB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.4723, allocations: 4 kB / 497.2 MB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.4735, allocations: 0.7245 MB / 498 MB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.4757, allocations: 410.2 kB / 498.4 MB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/0.4998, allocations: 14.99 MB / 0.5013 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.5011, allocations: 1.469 MB / 0.5027 GB, free: 4.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001123/0.5022, allocations: 351.5 kB / 0.5031 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009719/0.5032, allocations: 0.6399 MB / 0.5037 GB, free: 3.953 MB / 414.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5032, allocations: 4 kB / 0.5037 GB, free: 3.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08344/0.5867, allocations: 35.76 MB / 0.5386 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.47, allocations: 11.81 kB / 0.5386 GB, free: 0.5234 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! Error: Could not read variable toSpacePhasor.y[1] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable toSpacePhasor.y[1] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! Error: Could not read variable toSpacePhasor.y[2] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable toSpacePhasor.y[2] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! Error: Could not read variable hallSensor.y in file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable hallSensor.y from file Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.17579654394649]