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.001117/0.001117, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.004692/0.004692, allocations: 144.8 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8348/0.8348, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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 1.032e-06/1.032e-06, allocations: 0 / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.614e-05, allocations: 4.812 kB / 319.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.005665/0.005681, allocations: 7.972 MB / 327.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003991/0.009673, allocations: 2.968 MB / 330.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007614/0.01043, allocations: 51.69 kB / 330.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.01159, allocations: 0.6599 MB / 331.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.01298, allocations: 0.7762 MB / 332.1 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.0135, allocations: 335.3 kB / 332.4 MB, free: 9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.01517, allocations: 2.185 MB / 334.6 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008355/0.016, allocations: 0.7971 MB / 335.4 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.01735, allocations: 1.353 MB / 336.8 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.01841, allocations: 0.9662 MB / 337.7 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.01869, allocations: 235.9 kB / 338 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.01907, allocations: 319.8 kB / 338.3 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.01949, allocations: 0.705 MB / 339 MB, free: 2.387 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005678/0.02006, allocations: 0.7366 MB / 339.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.02211, allocations: 3.135 MB / 342.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.02212, allocations: 0 / 342.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.02212, allocations: 4 kB / 342.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.783e-05/0.02216, allocations: 0 / 342.9 MB, free: 14.49 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.002665/0.02482, allocations: 2.219 MB / 345.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.02486, allocations: 12.92 kB / 345.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/0.02525, allocations: 235.6 kB / 345.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.02656, allocations: 1.159 MB / 346.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.02661, allocations: 111.5 kB / 346.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.02676, allocations: 152.4 kB / 346.7 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.02881, allocations: 2.084 MB / 348.8 MB, free: 8.379 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.02884, allocations: 7.953 kB / 348.8 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/0.02893, allocations: 60 kB / 348.9 MB, free: 8.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/0.02899, allocations: 82.91 kB / 349 MB, free: 8.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.03071, allocations: 1.643 MB / 350.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005899/0.03661, allocations: 6.064 MB / 356.7 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.03713, allocations: 430.2 kB / 357.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.03736, allocations: 250.2 kB / 357.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.0375, allocations: 40.47 kB / 357.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.03753, allocations: 47.41 kB / 357.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 2.605e-06/0.03753, allocations: 0 / 357.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.004132/0.04167, allocations: 3.146 MB / 360.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001509/0.04318, allocations: 2.184 MB / 362.8 MB, free: 9.938 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.04459, allocations: 1.518 MB / 364.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.04463, allocations: 33.7 kB / 364.3 MB, free: 8.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/0.04508, allocations: 1.056 MB / 365.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.04521, allocations: 242 kB / 365.6 MB, free: 7.062 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.04547, allocations: 327.3 kB / 365.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.04553, allocations: 301.1 kB / 366.2 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.04603, allocations: 0.5191 MB / 366.7 MB, free: 5.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008525/0.04688, allocations: 1.465 MB / 368.2 MB, free: 3.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.04833, allocations: 2.135 MB / 370.3 MB, free: 1.387 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.04834, allocations: 8 kB / 370.4 MB, free: 1.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.002161/0.0505, allocations: 2.152 MB / 372.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.05053, allocations: 20 kB / 372.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.05055, allocations: 32 kB / 372.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.05088, allocations: 230.9 kB / 372.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.05148, allocations: 391.3 kB / 373.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.0525, allocations: 1.733 MB / 374.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.05324, allocations: 139.7 kB / 375 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.687e-05/0.05331, allocations: 99.98 kB / 375.1 MB, free: 12.46 MB / 346.7 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.0006387/0.05395, allocations: 0.5834 MB / 375.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.05411, allocations: 154.9 kB / 375.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.05523, allocations: 1.103 MB / 377 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.05523, allocations: 8 kB / 377 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.05524, allocations: 3.938 kB / 377 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.05524, allocations: 0 / 377 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.05832, allocations: 3.009 MB / 380 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.05833, allocations: 4 kB / 380 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.05855, allocations: 103.9 kB / 380.1 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003368/0.05889, allocations: 235.1 kB / 380.3 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.05891, allocations: 20 kB / 380.3 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.06124, allocations: 3.789 MB / 384.1 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001184/0.06243, allocations: 2.024 MB / 386.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.06407, allocations: 1.719 MB / 387.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.06449, allocations: 227 kB / 388.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.06457, allocations: 20.31 kB / 388.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.06491, allocations: 47.94 kB / 388.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/0.065, allocations: 67.77 kB / 388.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.06503, allocations: 31.94 kB / 388.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009865/0.06602, allocations: 0.9615 MB / 389.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.06602, allocations: 0 / 389.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001062/0.06708, allocations: 379.9 kB / 389.6 MB, free: 13.4 MB / 362.7 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.0002704/0.06735, allocations: 183 kB / 389.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.06902, allocations: 1.42 MB / 391.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.06902, allocations: 0 / 391.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000675/0.0697, allocations: 0.7412 MB / 391.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009976/0.07069, allocations: 356.5 kB / 392.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.07406, allocations: 3.216 MB / 395.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.07467, allocations: 0.8731 MB / 396.4 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.07491, allocations: 120.5 kB / 396.5 MB, free: 6.309 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/0.07491, allocations: 0 / 396.5 MB, free: 6.309 MB / 362.7 MB Notification: Performance of Templates: time 0.03751/0.1124, allocations: 47.12 MB / 443.6 MB, free: 7.219 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/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: 7.113718423061073]