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.0007904/0.0007904, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.001961, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007251/0.0007251, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001752, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9719/0.9719, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08965/1.062, allocations: 53.88 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.206e-05, allocations: 5.828 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.008572/0.008594, allocations: 8.964 MB / 254.2 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005975/0.01457, allocations: 3.228 MB / 257.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.01597, allocations: 55.62 kB / 257.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.01768, allocations: 0.6754 MB / 258.1 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.01977, allocations: 0.7878 MB / 258.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006614/0.02043, allocations: 315.4 kB / 259.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.0226, allocations: 2.236 MB / 261.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009192/0.02352, allocations: 0.8363 MB / 262.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.02583, allocations: 1.708 MB / 264 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.02709, allocations: 0.9897 MB / 265 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003817/0.02747, allocations: 224 kB / 265.2 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000558/0.02803, allocations: 319.8 kB / 265.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.02843, allocations: 0.5688 MB / 266.1 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009018/0.02933, allocations: 0.6121 MB / 266.7 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.03114, allocations: 1.596 MB / 268.3 MB, free: 6.305 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.03115, allocations: 0 / 268.3 MB, free: 6.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.03115, allocations: 0 / 268.3 MB, free: 6.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.336e-05/0.0312, allocations: 0 / 268.3 MB, free: 6.305 MB / 266.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.002956/0.03415, allocations: 2.487 MB / 270.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.03419, allocations: 16.56 kB / 270.8 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006404/0.03483, allocations: 389.7 kB / 271.2 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.03608, allocations: 0.8677 MB / 272.1 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.553e-05/0.03617, allocations: 115.5 kB / 272.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.03636, allocations: 164.3 kB / 272.3 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.03791, allocations: 1.203 MB / 273.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.03795, allocations: 11.92 kB / 273.5 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.03806, allocations: 63.94 kB / 273.6 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003305/0.03839, allocations: 78.94 kB / 273.7 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/0.03921, allocations: 480.2 kB / 274.2 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1594/0.1986, allocations: 4.997 MB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.199, allocations: 252.5 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.1992, allocations: 86.89 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.1993, allocations: 33.53 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1993, allocations: 40.64 kB / 279.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 3.367e-06/0.1993, allocations: 0 / 279.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002538/0.2019, allocations: 1.328 MB / 280.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.2019, allocations: 58.38 kB / 280.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.2029, allocations: 1.168 MB / 282.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.2029, allocations: 43.25 kB / 282.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.2033, allocations: 0.9171 MB / 283.1 MB, free: 9.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.2034, allocations: 248.1 kB / 283.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.2037, allocations: 307.4 kB / 283.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.332e-05/0.2037, allocations: 310.2 kB / 283.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.2039, allocations: 157.7 kB / 284.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.2044, allocations: 1.072 MB / 285.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.2055, allocations: 1.538 MB / 286.7 MB, free: 7.074 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.2056, allocations: 9.594 kB / 286.7 MB, free: 7.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001455/0.207, allocations: 1.176 MB / 287.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.207, allocations: 18.67 kB / 287.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/0.2071, allocations: 33.84 kB / 287.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.2073, allocations: 125 kB / 288 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/0.208, allocations: 421.5 kB / 288.4 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006858/0.2087, allocations: 1.286 MB / 289.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007481/0.2095, allocations: 118.6 kB / 289.9 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.2096, allocations: 82.72 kB / 289.9 MB, free: 5.73 MB / 266.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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003471/0.2099, allocations: 241.6 kB / 290.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.2101, allocations: 102.4 kB / 290.3 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.2107, allocations: 489.4 kB / 290.7 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2107, allocations: 5.844 kB / 290.8 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2107, allocations: 1.875 kB / 290.8 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2107, allocations: 3.703 kB / 290.8 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.2123, allocations: 1.43 MB / 292.2 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2123, allocations: 0 / 292.2 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.2125, allocations: 121.5 kB / 292.3 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.2127, allocations: 153.7 kB / 292.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/0.2129, allocations: 131.4 kB / 292.6 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.2129, allocations: 16.12 kB / 292.6 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004158/0.2133, allocations: 1.232 MB / 293.8 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2134, allocations: 0 / 293.8 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/0.2139, allocations: 0.699 MB / 294.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/0.214, allocations: 17.52 kB / 294.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.2143, allocations: 25.45 kB / 294.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.2143, allocations: 52.2 kB / 294.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.2144, allocations: 14.28 kB / 294.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000364/0.2147, allocations: 0.5282 MB / 295.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2147, allocations: 0 / 295.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008833/0.2156, allocations: 356 kB / 295.5 MB, free: 3.379 MB / 266.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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002328/0.2158, allocations: 146 kB / 295.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.2167, allocations: 0.8289 MB / 296.5 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.795e-05/0.2167, allocations: 38.2 kB / 296.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.217, allocations: 362.9 kB / 296.9 MB, free: 2.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.2184, allocations: 3.534 MB / 300.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.2339, allocations: 2.609 MB / 303 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.2343, allocations: 357.5 kB / 303.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007873/0.2351, allocations: 202.5 kB / 303.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/0.2358, allocations: 366 kB / 303.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2358, allocations: 0 / 303.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of Templates: time 0.03085/0.2667, allocations: 18.95 MB / 322.9 MB, free: 10.92 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.096681274473667]