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.001404/0.001404, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001506/0.001506, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.508/1.508, 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.001724/0.001724, allocations: 51.92 kB / 373 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1075, allocations: 53.32 MB / 426.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.2177/0.3251, allocations: 9.158 MB / 435.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005909/0.3311, allocations: 3.182 MB / 438.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.3323, allocations: 55.56 kB / 438.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.3342, allocations: 0.7255 MB / 439.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.3367, allocations: 0.755 MB / 440.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008034/0.3375, allocations: 311.8 kB / 440.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.3401, allocations: 2.152 MB / 442.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.3414, allocations: 1.024 MB / 443.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.3432, allocations: 0.9519 MB / 444.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.3451, allocations: 1.166 MB / 445.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004685/0.3456, allocations: 231.4 kB / 446 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000846/0.3464, allocations: 339.7 kB / 446.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007338/0.3471, allocations: 0.6922 MB / 447 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.3485, allocations: 1.093 MB / 448.1 MB, free: 452 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.3531, allocations: 3.15 MB / 451.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3531, allocations: 3.938 kB / 451.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3531, allocations: 1.094 kB / 451.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.988e-05/0.3532, allocations: 1.781 kB / 451.3 MB, free: 15.31 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.005805/0.359, allocations: 2.354 MB / 453.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.359, allocations: 9.812 kB / 453.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003999/0.3594, allocations: 232.5 kB / 453.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/0.3602, allocations: 248.6 kB / 454.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/0.3626, allocations: 1.246 MB / 455.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-05/0.3627, allocations: 113.3 kB / 455.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.363, allocations: 152.7 kB / 455.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/0.3667, allocations: 2.033 MB / 457.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/0.3667, allocations: 6.391 kB / 457.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.3669, allocations: 70.2 kB / 457.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.367, allocations: 75.25 kB / 457.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003193/0.3702, allocations: 1.687 MB / 459.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.3813, allocations: 7.05 MB / 466.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009304/0.3822, allocations: 452.5 kB / 467 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.3827, allocations: 261.6 kB / 467.2 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.3829, allocations: 115.1 kB / 467.4 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.383, allocations: 42.27 kB / 467.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.945e-06/0.383, allocations: 1.5 kB / 467.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007631/0.3906, allocations: 3.056 MB / 470.5 MB, free: 2.641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3906, allocations: 57.41 kB / 470.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.3933, allocations: 1.636 MB / 472.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/0.3934, allocations: 36.05 kB / 472.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008631/0.3942, allocations: 1.067 MB / 473.2 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.3944, allocations: 244.6 kB / 473.5 MB, free: 500 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000452/0.3949, allocations: 323.3 kB / 473.8 MB, free: 304 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.395, allocations: 310.7 kB / 474.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000939/0.396, allocations: 0.5221 MB / 474.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.3976, allocations: 1.456 MB / 476.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/0.4005, allocations: 2.134 MB / 478.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/0.4005, allocations: 15.94 kB / 478.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004192/0.4047, allocations: 2.165 MB / 480.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.4047, allocations: 20 kB / 480.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/0.4047, allocations: 32.61 kB / 480.4 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/0.4054, allocations: 226.4 kB / 480.7 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.4066, allocations: 408.3 kB / 481.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.4086, allocations: 1.843 MB / 482.9 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.4104, allocations: 143.7 kB / 483.1 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.4106, allocations: 99.92 kB / 483.1 MB, free: 6.441 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.001087/0.4117, allocations: 0.5983 MB / 483.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.412, allocations: 163 kB / 483.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.4142, allocations: 1.084 MB / 485 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.4143, allocations: 8 kB / 485 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4143, allocations: 0 / 485 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.4143, allocations: 3.984 kB / 485 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/0.4196, allocations: 2.746 MB / 487.7 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.4196, allocations: 4 kB / 487.8 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.4201, allocations: 123.9 kB / 487.9 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004819/0.4206, allocations: 170.4 kB / 488 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/0.4206, allocations: 12 kB / 488.1 MB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.4224, allocations: 1.782 MB / 489.8 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.4225, allocations: 3.938 kB / 489.8 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002924/0.4254, allocations: 1.64 MB / 491.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007749/0.4262, allocations: 312 kB / 491.8 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004192/0.4266, allocations: 15.94 kB / 491.8 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009342/0.4275, allocations: 52 kB / 491.8 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.4277, allocations: 56.42 kB / 491.9 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.4277, allocations: 16 kB / 491.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002142/0.4298, allocations: 1.083 MB / 493 MB, free: 12.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4298, allocations: 0 / 493 MB, free: 12.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00191/0.4318, allocations: 359.9 kB / 493.4 MB, free: 11.91 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.003511/0.4353, allocations: 2.252 MB / 495.6 MB, free: 9.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00321/0.4385, allocations: 1.572 MB / 497.2 MB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.4385, allocations: 3.938 kB / 497.2 MB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.4398, allocations: 0.7323 MB / 497.9 MB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/0.4422, allocations: 414.3 kB / 498.3 MB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02727/0.4694, allocations: 14.98 MB / 0.5013 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.4711, allocations: 1.469 MB / 0.5027 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001104/0.4722, allocations: 355.7 kB / 0.503 GB, free: 4.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.4732, allocations: 0.6399 MB / 0.5037 GB, free: 4.238 MB / 414.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4732, allocations: 0 / 0.5037 GB, free: 4.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08855/0.5617, allocations: 35.77 MB / 0.5386 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.86, allocations: 10 kB / 0.5386 GB, free: 0.8477 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.32 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.64439548389055]