Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 247 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 51.92 kB / 358.7 MB, free: 8.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.09891, allocations: 49.44 MB / 408.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01093/0.1099, allocations: 8.99 MB / 417.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005892/0.1158, allocations: 3.154 MB / 420.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009235/0.1168, allocations: 39.88 kB / 420.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.1186, allocations: 0.6678 MB / 421 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.1205, allocations: 0.6989 MB / 421.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006982/0.1212, allocations: 327.4 kB / 422 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00234/0.1236, allocations: 2.109 MB / 424.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/0.1262, allocations: 1.421 MB / 425.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.128, allocations: 0.907 MB / 426.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.1304, allocations: 1.129 MB / 427.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003853/0.1308, allocations: 232 kB / 427.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000714/0.1315, allocations: 315.9 kB / 428.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007631/0.1323, allocations: 0.6856 MB / 428.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.1336, allocations: 1.081 MB / 429.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2008/0.3344, allocations: 3.102 MB / 432.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3345, allocations: 2.578 kB / 432.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3345, allocations: 0.5469 kB / 432.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.453e-05/0.3345, allocations: 3.375 kB / 432.9 MB, free: 10.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.00396/0.3385, allocations: 2.324 MB / 435.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3385, allocations: 11.56 kB / 435.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005395/0.3391, allocations: 232 kB / 435.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.3407, allocations: 1.219 MB / 436.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.289e-05/0.3408, allocations: 123.5 kB / 436.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.341, allocations: 153 kB / 437 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/0.3443, allocations: 2.009 MB / 439 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/0.3444, allocations: 7.703 kB / 439 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.3445, allocations: 63.16 kB / 439.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.824e-05/0.3446, allocations: 77.88 kB / 439.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.3473, allocations: 1.65 MB / 440.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008618/0.3559, allocations: 6.904 MB / 447.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/0.3567, allocations: 456 kB / 448.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.357, allocations: 263.4 kB / 448.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.3572, allocations: 115.1 kB / 448.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3572, allocations: 36.03 kB / 448.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.3573, allocations: 0 / 448.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.006859/0.3641, allocations: 3.318 MB / 451.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002161/0.3663, allocations: 2.337 MB / 454.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.3688, allocations: 1.618 MB / 455.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.763e-05/0.3689, allocations: 36.33 kB / 455.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005395/0.3695, allocations: 1.052 MB / 456.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.3696, allocations: 251.1 kB / 457.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/0.37, allocations: 320.8 kB / 457.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.3701, allocations: 302.2 kB / 457.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007396/0.3708, allocations: 0.5207 MB / 458.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.372, allocations: 1.466 MB / 459.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002678/0.3747, allocations: 2.138 MB / 461.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/0.3747, allocations: 9.406 kB / 461.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003482/0.3782, allocations: 2.164 MB / 464.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.3783, allocations: 23.69 kB / 464.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-05/0.3783, allocations: 35.84 kB / 464.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005558/0.3789, allocations: 229.1 kB / 464.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.38, allocations: 396.1 kB / 464.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.3819, allocations: 1.843 MB / 466.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.3836, allocations: 141.7 kB / 466.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.3837, allocations: 102.5 kB / 466.8 MB, free: 11.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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.0009557/0.3847, allocations: 0.5971 MB / 467.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.385, allocations: 162.1 kB / 467.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.3869, allocations: 1.106 MB / 468.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.387, allocations: 11.67 kB / 468.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.387, allocations: 3.812 kB / 468.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.387, allocations: 0 / 468.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005809/0.3928, allocations: 3.393 MB / 472.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.3928, allocations: 4.094 kB / 472.1 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.3933, allocations: 115.4 kB / 472.2 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006404/0.3939, allocations: 228.2 kB / 472.4 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.394, allocations: 20 kB / 472.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004434/0.3984, allocations: 4.056 MB / 476.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002324/0.4008, allocations: 2.171 MB / 478.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/0.4038, allocations: 1.749 MB / 480.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/0.4045, allocations: 316 kB / 480.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.4047, allocations: 27.94 kB / 480.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.4054, allocations: 47.94 kB / 480.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.4055, allocations: 59.72 kB / 480.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.4056, allocations: 27.98 kB / 480.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00177/0.4074, allocations: 1.07 MB / 482 MB, free: 13.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.4074, allocations: 0 / 482 MB, free: 13.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001755/0.4092, allocations: 385.8 kB / 482.3 MB, free: 12.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003511/0.4095, allocations: 181.4 kB / 482.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.4122, allocations: 1.611 MB / 484.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4123, allocations: 0 / 484.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.4136, allocations: 0.8445 MB / 485 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.4157, allocations: 404.5 kB / 485.4 MB, free: 9.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/0.4213, allocations: 3.267 MB / 488.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.4226, allocations: 1.453 MB / 490.1 MB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.4231, allocations: 123.4 kB / 490.2 MB, free: 4.887 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4231, allocations: 0 / 490.2 MB, free: 4.887 MB / 382.1 MB Notification: Performance of Templates: time 0.06041/0.4835, allocations: 47.41 MB / 0.525 GB, free: 5.578 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 11.615587056963705]