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.001717/0.001717, allocations: 70.11 kB / 21.24 MB, free: 0.5547 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.00203/0.00203, allocations: 149.7 kB / 24.49 MB, free: 3.855 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.427/1.427, allocations: 173.4 MB / 201 MB, free: 12.7 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.001521/0.001521, allocations: 47.67 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08943/0.09095, allocations: 52.16 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01058/0.1015, allocations: 7.981 MB / 379.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.1073, allocations: 2.952 MB / 382.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009889/0.1083, allocations: 55.62 kB / 382.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.1102, allocations: 0.6523 MB / 383.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.1122, allocations: 0.7496 MB / 384 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.113, allocations: 315.5 kB / 384.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002354/0.1153, allocations: 2.109 MB / 386.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.1165, allocations: 0.7933 MB / 387.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.1176, allocations: 0.9382 MB / 388.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.1191, allocations: 1.074 MB / 389.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003245/0.1194, allocations: 232 kB / 389.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.12, allocations: 323.8 kB / 389.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007264/0.1207, allocations: 0.6777 MB / 390.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009732/0.1217, allocations: 0.8751 MB / 391.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.1249, allocations: 3.137 MB / 394.4 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1249, allocations: 0 / 394.4 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1249, allocations: 7.938 kB / 394.4 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.573e-05/0.125, allocations: 0 / 394.4 MB, free: 360 kB / 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.004122/0.1291, allocations: 2.243 MB / 396.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.1291, allocations: 8.922 kB / 396.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006018/0.1297, allocations: 235.6 kB / 396.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.1319, allocations: 1.156 MB / 398.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.132, allocations: 119.4 kB / 398.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/0.1322, allocations: 155.9 kB / 398.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003288/0.1355, allocations: 2.083 MB / 400.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.037e-05/0.1356, allocations: 7.938 kB / 400.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.1357, allocations: 64 kB / 400.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.2e-05/0.1358, allocations: 74.92 kB / 400.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.1386, allocations: 1.651 MB / 402.2 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009125/0.1477, allocations: 6.064 MB / 408.3 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/0.1485, allocations: 438.3 kB / 408.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.1489, allocations: 242.2 kB / 408.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.1491, allocations: 40.47 kB / 409 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1491, allocations: 39.06 kB / 409 MB, free: 1.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.345e-06/0.1491, allocations: 0 / 409 MB, free: 1.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007039/0.1561, allocations: 3.163 MB / 412.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002534/0.1587, allocations: 2.192 MB / 414.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.1607, allocations: 1.519 MB / 415.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.1608, allocations: 33.7 kB / 415.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008111/0.1616, allocations: 1.067 MB / 417 MB, free: 9.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.1618, allocations: 242.1 kB / 417.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004401/0.1622, allocations: 331.3 kB / 417.6 MB, free: 8.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1624, allocations: 301.1 kB / 417.8 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008403/0.1632, allocations: 0.5192 MB / 418.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.1648, allocations: 1.465 MB / 419.8 MB, free: 5.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.1674, allocations: 2.135 MB / 422 MB, free: 3.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/0.1674, allocations: 12 kB / 422 MB, free: 3.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003561/0.171, allocations: 2.148 MB / 424.1 MB, free: 1.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.171, allocations: 22.64 kB / 424.1 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/0.171, allocations: 39.94 kB / 424.2 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/0.1716, allocations: 227.1 kB / 424.4 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.1728, allocations: 395.3 kB / 424.8 MB, free: 340 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.1746, allocations: 1.717 MB / 426.5 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.1758, allocations: 139.7 kB / 426.6 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.1759, allocations: 104 kB / 426.7 MB, free: 14.27 MB / 398.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.0008987/0.1768, allocations: 0.5866 MB / 427.3 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.1771, allocations: 143.1 kB / 427.5 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.1791, allocations: 1.103 MB / 428.6 MB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1791, allocations: 4 kB / 428.6 MB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1791, allocations: 4.062 kB / 428.6 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.1791, allocations: 11.92 kB / 428.6 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005346/0.1844, allocations: 3.005 MB / 431.6 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.1844, allocations: 8 kB / 431.6 MB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.1849, allocations: 116.4 kB / 431.7 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006353/0.1855, allocations: 230.4 kB / 431.9 MB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.1856, allocations: 19.94 kB / 432 MB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004386/0.1899, allocations: 3.782 MB / 435.7 MB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002204/0.1922, allocations: 2.035 MB / 437.8 MB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.195, allocations: 1.739 MB / 439.5 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000597/0.1956, allocations: 219 kB / 439.7 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.1957, allocations: 24 kB / 439.8 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/0.1964, allocations: 47.94 kB / 439.8 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.1965, allocations: 63.78 kB / 439.9 MB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.1966, allocations: 23.98 kB / 439.9 MB, free: 0.5156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.1981, allocations: 0.9615 MB / 440.9 MB, free: 15.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1981, allocations: 0 / 440.9 MB, free: 15.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001615/0.1997, allocations: 376.1 kB / 441.2 MB, free: 15.19 MB / 414.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.0003172/0.2, allocations: 178.9 kB / 441.4 MB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.2026, allocations: 1.413 MB / 442.8 MB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.2026, allocations: 0 / 442.8 MB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.204, allocations: 0.7606 MB / 443.6 MB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.2056, allocations: 360.2 kB / 443.9 MB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.2107, allocations: 3.194 MB / 447.1 MB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.2117, allocations: 0.881 MB / 448 MB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009972/0.2127, allocations: 336.9 kB / 448.3 MB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.213, allocations: 112.4 kB / 448.4 MB, free: 7.773 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.213, allocations: 0 / 448.4 MB, free: 7.773 MB / 414.1 MB Notification: Performance of Templates: time 0.03827/0.2513, allocations: 19.64 MB / 468.1 MB, free: 4.438 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 -s ida -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/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/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: 4.950776487938128]