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.001579/0.001579, allocations: 115.6 kB / 20.44 MB, free: 1.465 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.001817/0.001817, allocations: 212.9 kB / 23.74 MB, free: 4.691 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.556/1.556, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.00154/0.00154, allocations: 51.92 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2724, allocations: 53.35 MB / 431.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01166/0.284, allocations: 9.214 MB / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006205/0.2902, allocations: 3.193 MB / 443.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.2916, allocations: 55.62 kB / 443.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.2936, allocations: 0.7302 MB / 444.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.2959, allocations: 0.7651 MB / 445.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007565/0.2967, allocations: 323.5 kB / 445.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00263/0.2993, allocations: 2.14 MB / 447.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.3006, allocations: 0.8364 MB / 448.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.302, allocations: 0.9498 MB / 449.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.3037, allocations: 1.175 MB / 450.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003504/0.304, allocations: 236 kB / 450.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006318/0.3047, allocations: 331.8 kB / 451.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007131/0.3054, allocations: 0.6894 MB / 451.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.3065, allocations: 1.096 MB / 452.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.3101, allocations: 3.154 MB / 456 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3101, allocations: 4 kB / 456 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3101, allocations: 3.938 kB / 456 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.322e-05/0.3101, allocations: 0 / 456 MB, free: 13.86 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.004579/0.3147, allocations: 2.282 MB / 458.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3148, allocations: 8.031 kB / 458.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002989/0.3151, allocations: 236.4 kB / 458.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006716/0.3157, allocations: 239.6 kB / 458.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.318, allocations: 1.176 MB / 459.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.3181, allocations: 115.2 kB / 460.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.3184, allocations: 164 kB / 460.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/0.3217, allocations: 2.021 MB / 462.2 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.155e-05/0.3217, allocations: 15.94 kB / 462.3 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.3219, allocations: 64 kB / 462.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.216e-05/0.322, allocations: 74.94 kB / 462.4 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/0.3248, allocations: 1.678 MB / 464.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.3354, allocations: 6.926 MB / 471 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008761/0.3363, allocations: 457 kB / 471.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.3367, allocations: 258 kB / 471.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.3369, allocations: 40.39 kB / 471.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3369, allocations: 39 kB / 471.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/0.3369, allocations: 4 kB / 471.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007208/0.3441, allocations: 2.911 MB / 474.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.3442, allocations: 60.06 kB / 474.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.3466, allocations: 1.636 MB / 476.4 MB, free: 8.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/0.3467, allocations: 33.7 kB / 476.4 MB, free: 8.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009361/0.3476, allocations: 1.064 MB / 477.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.3479, allocations: 250 kB / 477.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/0.3483, allocations: 323.3 kB / 478 MB, free: 7.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3485, allocations: 301.1 kB / 478.3 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009072/0.3494, allocations: 0.527 MB / 478.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.351, allocations: 1.45 MB / 480.3 MB, free: 4.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00279/0.3538, allocations: 2.136 MB / 482.4 MB, free: 1.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.3538, allocations: 8 kB / 482.4 MB, free: 1.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003773/0.3576, allocations: 2.167 MB / 484.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.3577, allocations: 20 kB / 484.6 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-05/0.3577, allocations: 32 kB / 484.7 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/0.3583, allocations: 230.9 kB / 484.9 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.3595, allocations: 403.2 kB / 485.3 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.3613, allocations: 1.744 MB / 487 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.3626, allocations: 143.6 kB / 487.2 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.3628, allocations: 95.98 kB / 487.3 MB, free: 12.96 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.0009384/0.3637, allocations: 0.5983 MB / 487.9 MB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.364, allocations: 159 kB / 488 MB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.366, allocations: 1.089 MB / 489.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.366, allocations: 4 kB / 489.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.366, allocations: 4 kB / 489.1 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.366, allocations: 3.984 kB / 489.1 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00491/0.371, allocations: 2.719 MB / 491.8 MB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.371, allocations: 8.156 kB / 491.8 MB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.3715, allocations: 115.8 kB / 492 MB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/0.3719, allocations: 166.4 kB / 492.1 MB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.3719, allocations: 12 kB / 492.1 MB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.3736, allocations: 1.689 MB / 493.8 MB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.3736, allocations: 7.969 kB / 493.8 MB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.3763, allocations: 1.643 MB / 495.5 MB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/0.377, allocations: 230.9 kB / 495.7 MB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.3771, allocations: 12 kB / 495.7 MB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006271/0.3778, allocations: 52 kB / 495.8 MB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.3779, allocations: 52.34 kB / 495.8 MB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.378, allocations: 20 kB / 495.8 MB, free: 4.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001634/0.3796, allocations: 1.079 MB / 496.9 MB, free: 3.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3796, allocations: 0 / 496.9 MB, free: 3.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001409/0.381, allocations: 363.9 kB / 497.3 MB, free: 2.664 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.003207/0.3842, allocations: 2.27 MB / 499.5 MB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002729/0.3869, allocations: 1.409 MB / 0.4892 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3869, allocations: 0 / 0.4892 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.388, allocations: 0.5814 MB / 0.4898 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.3898, allocations: 420.2 kB / 0.4902 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02368/0.4135, allocations: 14.98 MB / 0.5048 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/0.415, allocations: 1.469 MB / 0.5062 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001143/0.4161, allocations: 354 kB / 0.5066 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008978/0.417, allocations: 0.636 MB / 0.5072 GB, free: 11.34 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.417, allocations: 0 / 0.5072 GB, free: 11.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.294/0.711, allocations: 37.03 MB / 0.5434 GB, free: 103.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.37, allocations: 1.75 kB / 0.5434 GB, free: 103.7 MB / 446.1 MB " [Timeout remaining time 645] (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: 18.04628423399845]