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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=800,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=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008566/0.0008567, allocations: 92.92 kB / 16.3 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000884/0.0008841, allocations: 187.8 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 241.1 MB, free: 400 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002612, allocations: 8.438 kB / 300.7 MB, free: 6.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.09174, allocations: 50.41 MB / 351.1 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.007556/0.09933, allocations: 7.274 MB / 358.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005721/0.1051, allocations: 3.037 MB / 361.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.1064, allocations: 35.81 kB / 361.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.1083, allocations: 0.5559 MB / 362 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.1108, allocations: 0.6348 MB / 362.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/0.1118, allocations: 223.6 kB / 362.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.1144, allocations: 1.392 MB / 364.3 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.1158, allocations: 0.9686 MB / 365.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009429/0.1167, allocations: 0.6577 MB / 365.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009234/0.1177, allocations: 0.8133 MB / 366.7 MB, free: 4.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.1178, allocations: 100 kB / 366.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.1182, allocations: 175.8 kB / 367 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004636/0.1187, allocations: 0.4947 MB / 367.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.1191, allocations: 396.7 kB / 367.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.1209, allocations: 2.462 MB / 370.3 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.1209, allocations: 0 / 370.3 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1209, allocations: 0 / 370.3 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.578e-05/0.121, allocations: 4 kB / 370.3 MB, free: 0.7539 MB / 302.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.2158/0.3368, allocations: 1.938 MB / 372.3 MB, free: 24.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3368, allocations: 9.594 kB / 372.3 MB, free: 24.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.3379, allocations: 223 kB / 372.5 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.3407, allocations: 1.172 MB / 373.7 MB, free: 23.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.195e-05/0.3408, allocations: 113.4 kB / 373.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.341, allocations: 153.6 kB / 373.9 MB, free: 23.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00356/0.3446, allocations: 1.98 MB / 375.9 MB, free: 22.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.794e-05/0.3447, allocations: 9.609 kB / 375.9 MB, free: 22.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.3448, allocations: 61.7 kB / 376 MB, free: 22.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.659e-05/0.3449, allocations: 79.59 kB / 376.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/0.3477, allocations: 1.636 MB / 377.7 MB, free: 22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.3583, allocations: 6.945 MB / 384.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008499/0.3591, allocations: 442.6 kB / 385.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.3594, allocations: 113.7 kB / 385.2 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.3595, allocations: 41.09 kB / 385.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.277e-06/0.3595, allocations: 4 kB / 385.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.007737/0.3672, allocations: 3.299 MB / 388.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002198/0.3695, allocations: 2.211 MB / 390.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.3719, allocations: 1.579 MB / 392.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.372, allocations: 36.89 kB / 392.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006796/0.3727, allocations: 1.022 MB / 393.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.3729, allocations: 236.1 kB / 393.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/0.373, allocations: 34.88 kB / 393.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.3731, allocations: 367.8 kB / 394 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008408/0.374, allocations: 0.514 MB / 394.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.3754, allocations: 1.449 MB / 396 MB, free: 9.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.3766, allocations: 0.7979 MB / 396.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.3766, allocations: 11.84 kB / 396.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003203/0.3798, allocations: 2.142 MB / 398.9 MB, free: 7.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.3799, allocations: 20 kB / 398.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/0.3799, allocations: 32 kB / 399 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/0.3804, allocations: 238.8 kB / 399.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.3814, allocations: 395.2 kB / 399.6 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.3828, allocations: 1.742 MB / 401.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.3844, allocations: 135.4 kB / 401.5 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.3845, allocations: 95.98 kB / 401.6 MB, free: 4.449 MB / 302.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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000908/0.3854, allocations: 0.5828 MB / 402.1 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.3857, allocations: 154.1 kB / 402.3 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.3874, allocations: 1.11 MB / 403.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3874, allocations: 8 kB / 403.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3874, allocations: 0 / 403.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3874, allocations: 11.92 kB / 403.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00514/0.3926, allocations: 3.376 MB / 406.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3926, allocations: 4 kB / 406.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.393, allocations: 107.8 kB / 406.9 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006333/0.3937, allocations: 232.8 kB / 407.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.3937, allocations: 23.97 kB / 407.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003645/0.3974, allocations: 3.747 MB / 410.9 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001964/0.3994, allocations: 2.05 MB / 413 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.4024, allocations: 2.05 MB / 415 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008841/0.4033, allocations: 303.1 kB / 415.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.4035, allocations: 19.95 kB / 415.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/0.4041, allocations: 52.5 kB / 415.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.4043, allocations: 63.81 kB / 415.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.4044, allocations: 20 kB / 415.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001584/0.406, allocations: 1.051 MB / 416.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.406, allocations: 4 kB / 416.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00186/0.4078, allocations: 381.4 kB / 416.9 MB, free: 4.293 MB / 318.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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002852/0.4081, allocations: 132.9 kB / 417 MB, free: 4.152 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.4107, allocations: 1.592 MB / 418.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4107, allocations: 0 / 418.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.4119, allocations: 0.8446 MB / 419.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.4139, allocations: 384.5 kB / 419.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/0.4194, allocations: 3.688 MB / 423.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.4206, allocations: 1.511 MB / 425 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001265/0.4219, allocations: 354 kB / 425.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.4221, allocations: 111.4 kB / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4221, allocations: 0 / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of Templates: time 0.04034/0.4625, allocations: 18.61 MB / 444.1 MB, free: 9.062 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches