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.001939/0.001939, allocations: 79.44 kB / 20.49 MB, free: 1.391 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.002339/0.002339, allocations: 166.6 kB / 23.74 MB, free: 4.578 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.563/1.563, allocations: 177.1 MB / 204 MB, free: 9.262 MB / 190.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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 57.36 kB / 324.8 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1073, allocations: 53.38 MB / 378.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01111/0.1184, allocations: 8.088 MB / 386.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00667/0.1251, allocations: 2.98 MB / 389.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.1266, allocations: 55.62 kB / 389.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.1287, allocations: 0.6484 MB / 389.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.1312, allocations: 0.769 MB / 390.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007601/0.132, allocations: 315.5 kB / 391 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002561/0.1345, allocations: 2.14 MB / 393.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.1358, allocations: 0.8013 MB / 393.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.138, allocations: 1.422 MB / 395.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.1396, allocations: 1.097 MB / 396.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.1399, allocations: 232 kB / 396.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.1405, allocations: 327.8 kB / 397 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007606/0.1413, allocations: 0.6972 MB / 397.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.1423, allocations: 0.8751 MB / 398.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.1459, allocations: 3.18 MB / 401.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1459, allocations: 0 / 401.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1459, allocations: 0 / 401.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.951e-05/0.146, allocations: 0 / 401.8 MB, free: 8.027 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.005105/0.1511, allocations: 2.286 MB / 404 MB, free: 5.699 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1511, allocations: 11.98 kB / 404.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.1519, allocations: 243.5 kB / 404.3 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.1543, allocations: 1.16 MB / 405.5 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1544, allocations: 123.4 kB / 405.6 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.1547, allocations: 159.9 kB / 405.7 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.1582, allocations: 2.104 MB / 407.8 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.981e-05/0.1583, allocations: 7.953 kB / 407.8 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.1584, allocations: 63.98 kB / 407.9 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.1585, allocations: 82.92 kB / 408 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/0.1617, allocations: 1.671 MB / 409.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.1723, allocations: 6.205 MB / 415.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009327/0.1733, allocations: 449.8 kB / 416.3 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/0.1737, allocations: 266.8 kB / 416.6 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.1739, allocations: 44.39 kB / 416.6 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.174, allocations: 35.06 kB / 416.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.574e-06/0.174, allocations: 0 / 416.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007714/0.1817, allocations: 2.91 MB / 419.5 MB, free: 5.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.1817, allocations: 60.06 kB / 419.6 MB, free: 5.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/0.1843, allocations: 1.547 MB / 421.2 MB, free: 4.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.1843, allocations: 33.7 kB / 421.2 MB, free: 4.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000961/0.1853, allocations: 1.071 MB / 422.3 MB, free: 2.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.1855, allocations: 250 kB / 422.5 MB, free: 2.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004596/0.186, allocations: 323.3 kB / 422.8 MB, free: 2.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1861, allocations: 301.1 kB / 423.1 MB, free: 2.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009578/0.1871, allocations: 0.5269 MB / 423.6 MB, free: 1.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.1888, allocations: 1.454 MB / 425.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/0.1917, allocations: 2.128 MB / 427.2 MB, free: 13.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/0.1917, allocations: 19.94 kB / 427.2 MB, free: 13.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004002/0.1957, allocations: 2.155 MB / 429.4 MB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.1957, allocations: 22.5 kB / 429.4 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.741e-05/0.1957, allocations: 32 kB / 429.4 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.1963, allocations: 234.9 kB / 429.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.1976, allocations: 399.3 kB / 430.1 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.1994, allocations: 1.713 MB / 431.8 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.2007, allocations: 151.7 kB / 431.9 MB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.2008, allocations: 92 kB / 432 MB, free: 8.145 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.0009116/0.2017, allocations: 0.5828 MB / 432.6 MB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.2019, allocations: 151 kB / 432.8 MB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.204, allocations: 1.088 MB / 433.8 MB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.204, allocations: 8 kB / 433.8 MB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.204, allocations: 0 / 433.8 MB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.2041, allocations: 3.984 kB / 433.8 MB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.2086, allocations: 2.38 MB / 436.2 MB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.2086, allocations: 4 kB / 436.2 MB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.2091, allocations: 123.8 kB / 436.4 MB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.2096, allocations: 166.6 kB / 436.5 MB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.2096, allocations: 19.92 kB / 436.5 MB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.2113, allocations: 1.647 MB / 438.2 MB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2113, allocations: 0 / 438.2 MB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.2141, allocations: 1.63 MB / 439.8 MB, free: 76 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006548/0.2147, allocations: 219.2 kB / 440 MB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.2149, allocations: 15.98 kB / 440 MB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/0.2155, allocations: 60 kB / 440.1 MB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.2157, allocations: 44.41 kB / 440.1 MB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.2157, allocations: 16 kB / 440.2 MB, free: 15.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001511/0.2172, allocations: 0.9778 MB / 441.1 MB, free: 14.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2172, allocations: 0 / 441.1 MB, free: 14.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001383/0.2186, allocations: 363.9 kB / 441.5 MB, free: 14.39 MB / 414.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.000314/0.2189, allocations: 161.1 kB / 441.7 MB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003049/0.222, allocations: 1.421 MB / 443.1 MB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.222, allocations: 0 / 443.1 MB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.2231, allocations: 0.5813 MB / 443.7 MB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.2247, allocations: 371.5 kB / 444 MB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.2302, allocations: 2.982 MB / 447 MB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.2312, allocations: 0.8817 MB / 447.9 MB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009265/0.2321, allocations: 345 kB / 448.2 MB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.2324, allocations: 104.5 kB / 448.3 MB, free: 7.445 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.2324, allocations: 0 / 448.3 MB, free: 7.445 MB / 414.1 MB Notification: Performance of Templates: time 0.03618/0.2686, allocations: 18.89 MB / 467.2 MB, free: 4.84 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.386769784614444]