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.001674/0.001674, allocations: 114 kB / 20.43 MB, free: 1.457 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.002068/0.002068, allocations: 214 kB / 23.74 MB, free: 4.672 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.512/1.512, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.001913/0.001913, allocations: 67.89 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2852, allocations: 53.4 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01185/0.2971, allocations: 9.192 MB / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006773/0.3039, allocations: 3.205 MB / 443.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.3052, allocations: 51.69 kB / 443.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.3073, allocations: 0.7302 MB / 444.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.3097, allocations: 0.7691 MB / 445.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.3105, allocations: 319.4 kB / 445.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003/0.3135, allocations: 2.147 MB / 447.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.3149, allocations: 0.8364 MB / 448.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.3164, allocations: 0.9499 MB / 449.4 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.3182, allocations: 1.171 MB / 450.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004059/0.3186, allocations: 232 kB / 450.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007389/0.3194, allocations: 339.8 kB / 451.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007595/0.3201, allocations: 0.6933 MB / 451.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.3215, allocations: 1.097 MB / 452.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.3253, allocations: 3.15 MB / 456.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3253, allocations: 0 / 456.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3253, allocations: 0 / 456.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.599e-05/0.3254, allocations: 0 / 456.1 MB, free: 13.67 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.005001/0.3304, allocations: 2.286 MB / 458.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3304, allocations: 8.031 kB / 458.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003143/0.3308, allocations: 236.4 kB / 458.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006665/0.3314, allocations: 243.5 kB / 458.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.3338, allocations: 1.168 MB / 460 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.3339, allocations: 119.2 kB / 460.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.3341, allocations: 148 kB / 460.2 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/0.3375, allocations: 2.041 MB / 462.3 MB, free: 7.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.918e-05/0.3376, allocations: 7.891 kB / 462.3 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.3377, allocations: 71.92 kB / 462.4 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.684e-05/0.3378, allocations: 78.92 kB / 462.4 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.3408, allocations: 1.674 MB / 464.1 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.3515, allocations: 6.914 MB / 471 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009166/0.3524, allocations: 448.9 kB / 471.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.3529, allocations: 262 kB / 471.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.3531, allocations: 40.41 kB / 471.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.3532, allocations: 39 kB / 471.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.527e-06/0.3532, allocations: 0 / 471.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007097/0.3603, allocations: 2.922 MB / 474.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.3603, allocations: 64.06 kB / 474.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.3628, allocations: 1.632 MB / 476.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.792e-05/0.3629, allocations: 37.64 kB / 476.5 MB, free: 8.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008665/0.3638, allocations: 1.064 MB / 477.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.364, allocations: 246 kB / 477.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.3645, allocations: 319.3 kB / 478.1 MB, free: 7.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3646, allocations: 309.1 kB / 478.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009466/0.3656, allocations: 0.5231 MB / 478.9 MB, free: 6.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.3672, allocations: 1.458 MB / 480.4 MB, free: 4.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/0.3701, allocations: 2.136 MB / 482.5 MB, free: 1.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/0.3702, allocations: 8 kB / 482.5 MB, free: 1.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004109/0.3743, allocations: 2.16 MB / 484.7 MB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.3743, allocations: 26.48 kB / 484.7 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.3744, allocations: 40.14 kB / 484.7 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/0.3749, allocations: 226.4 kB / 484.9 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.3762, allocations: 403.2 kB / 485.3 MB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.3782, allocations: 1.736 MB / 487.1 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.3797, allocations: 151.7 kB / 487.2 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.3799, allocations: 92 kB / 487.3 MB, free: 12.77 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.00108/0.381, allocations: 0.5912 MB / 487.9 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/0.3813, allocations: 163 kB / 488.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.3834, allocations: 1.085 MB / 489.1 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3834, allocations: 7.984 kB / 489.2 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3834, allocations: 8 kB / 489.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3834, allocations: 0 / 489.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005202/0.3886, allocations: 2.726 MB / 491.9 MB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3886, allocations: 4 kB / 491.9 MB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.3891, allocations: 119.8 kB / 492 MB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004558/0.3896, allocations: 170.6 kB / 492.2 MB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.3896, allocations: 15.98 kB / 492.2 MB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.3914, allocations: 1.678 MB / 493.9 MB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.557e-06/0.3914, allocations: 11.91 kB / 493.9 MB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002863/0.3942, allocations: 1.635 MB / 495.5 MB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008868/0.3951, allocations: 230.9 kB / 495.7 MB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.3953, allocations: 19.98 kB / 495.8 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.396, allocations: 47.94 kB / 495.8 MB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.3961, allocations: 52.28 kB / 495.9 MB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.3962, allocations: 20.06 kB / 495.9 MB, free: 3.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.3979, allocations: 1.087 MB / 497 MB, free: 2.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3979, allocations: 0 / 497 MB, free: 2.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001528/0.3994, allocations: 359.9 kB / 497.3 MB, free: 2.477 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.003317/0.4028, allocations: 2.256 MB / 499.6 MB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002974/0.4057, allocations: 1.425 MB / 0.4893 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.4057, allocations: 0 / 0.4893 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.4068, allocations: 0.5731 MB / 0.4898 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.409, allocations: 414.6 kB / 0.4902 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/0.4329, allocations: 14.99 MB / 0.5049 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.4342, allocations: 1.473 MB / 0.5063 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001038/0.4352, allocations: 353.9 kB / 0.5066 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009058/0.4361, allocations: 0.6399 MB / 0.5073 GB, free: 11.15 MB / 430.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4361, allocations: 0 / 0.5073 GB, free: 11.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3077/0.7438, allocations: 37.02 MB / 0.5434 GB, free: 103.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.24, allocations: 0 / 0.5434 GB, free: 103.6 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.898680823000177]