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.0008127/0.0008127, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008339/0.0008339, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8687/0.8687, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.583e-06/1.583e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.943e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.006598/0.006617, allocations: 8.096 MB / 332.7 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004723/0.01134, allocations: 2.999 MB / 335.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01239, allocations: 51.69 kB / 335.7 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.01366, allocations: 0.656 MB / 336.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.0151, allocations: 0.7878 MB / 337.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.01554, allocations: 323.4 kB / 337.5 MB, free: 2.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.01729, allocations: 2.221 MB / 339.7 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007989/0.01808, allocations: 0.8012 MB / 340.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.01919, allocations: 1.38 MB / 341.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000872/0.02006, allocations: 0.9741 MB / 342.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.02025, allocations: 232 kB / 343.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.02065, allocations: 323.8 kB / 343.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004175/0.02107, allocations: 0.7128 MB / 344.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004904/0.02156, allocations: 0.7522 MB / 344.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.02384, allocations: 3.166 MB / 348 MB, free: 8.336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.02384, allocations: 4 kB / 348 MB, free: 8.332 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02385, allocations: 4 kB / 348 MB, free: 8.328 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.02387, allocations: 0 / 348 MB, free: 8.328 MB / 314.7 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.002539/0.02641, allocations: 2.254 MB / 350.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.02645, allocations: 12.03 kB / 350.3 MB, free: 6.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/0.02666, allocations: 232.4 kB / 350.5 MB, free: 5.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004041/0.02706, allocations: 251.5 kB / 350.8 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.02836, allocations: 1.167 MB / 351.9 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.409e-05/0.02843, allocations: 115.4 kB / 352.1 MB, free: 4.211 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.02859, allocations: 152.4 kB / 352.2 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.03098, allocations: 2.112 MB / 354.3 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.03101, allocations: 11.95 kB / 354.3 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.364e-05/0.0311, allocations: 67.92 kB / 354.4 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/0.03116, allocations: 82.92 kB / 354.5 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.03291, allocations: 1.667 MB / 356.1 MB, free: 48 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005877/0.03878, allocations: 6.422 MB / 362.6 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.03935, allocations: 458 kB / 363 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.03961, allocations: 258.8 kB / 363.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.03975, allocations: 48.41 kB / 363.3 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.03977, allocations: 43.06 kB / 363.4 MB, free: 8.484 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.134e-06/0.03977, allocations: 0 / 363.4 MB, free: 8.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.00387/0.04364, allocations: 2.902 MB / 366.3 MB, free: 5.551 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.04368, allocations: 71.98 kB / 366.3 MB, free: 5.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.04561, allocations: 1.683 MB / 368 MB, free: 3.777 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.04565, allocations: 33.7 kB / 368 MB, free: 3.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005051/0.04615, allocations: 1.057 MB / 369.1 MB, free: 2.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.04629, allocations: 246 kB / 369.3 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.04656, allocations: 323.3 kB / 369.7 MB, free: 2.105 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.04663, allocations: 301.1 kB / 370 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005547/0.04718, allocations: 0.5192 MB / 370.5 MB, free: 1.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009347/0.04812, allocations: 1.458 MB / 371.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.04973, allocations: 2.136 MB / 374.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.04974, allocations: 8 kB / 374.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.002441/0.05218, allocations: 2.171 MB / 376.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.05221, allocations: 20 kB / 376.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.05223, allocations: 32 kB / 376.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/0.05259, allocations: 222.4 kB / 376.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.05324, allocations: 403.3 kB / 376.9 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.05437, allocations: 1.732 MB / 378.6 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.05518, allocations: 143.7 kB / 378.8 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.633e-05/0.05527, allocations: 96 kB / 378.9 MB, free: 7.824 MB / 346.7 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.0006603/0.05593, allocations: 0.5867 MB / 379.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.05609, allocations: 166.9 kB / 379.6 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.05731, allocations: 1.089 MB / 380.7 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.05732, allocations: 12 kB / 380.7 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.05732, allocations: 0 / 380.7 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.05733, allocations: 7.922 kB / 380.7 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.06028, allocations: 2.56 MB / 383.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.06029, allocations: 4 kB / 383.3 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.06057, allocations: 119.8 kB / 383.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002539/0.06082, allocations: 170.3 kB / 383.6 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.06085, allocations: 12 kB / 383.6 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.06185, allocations: 1.674 MB / 385.3 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.06186, allocations: 0 / 385.3 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.06349, allocations: 1.647 MB / 386.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/0.06385, allocations: 238.8 kB / 387.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.163e-05/0.06395, allocations: 12 kB / 387.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.06429, allocations: 55.94 kB / 387.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.06439, allocations: 48.34 kB / 387.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.06442, allocations: 16 kB / 387.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001038/0.06546, allocations: 1.086 MB / 388.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06546, allocations: 4.062 kB / 388.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001104/0.06656, allocations: 360 kB / 388.7 MB, free: 13.69 MB / 362.7 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.001894/0.06846, allocations: 2.246 MB / 391 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.07004, allocations: 1.409 MB / 392.4 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.07005, allocations: 0.8125 kB / 392.4 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005885/0.07063, allocations: 0.5811 MB / 393 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.07165, allocations: 414.2 kB / 393.4 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.08826, allocations: 14.98 MB / 408.3 MB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/0.08887, allocations: 0.886 MB / 409.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007115/0.08958, allocations: 357.9 kB / 409.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.09012, allocations: 0.6409 MB / 410.2 MB, free: 6.961 MB / 378.7 MB Notification: Performance of SimCode: time 1.733e-06/0.09012, allocations: 0 / 410.2 MB, free: 6.961 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/0.1385, allocations: 38.01 MB / 448.2 MB, free: 1.395 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/7.909, allocations: 4.062 kB / 448.2 MB, free: 1.391 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/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: 9.884251962415874]