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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007947/0.0007946, allocations: 98.45 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000874/0.000874, allocations: 203.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004228, allocations: 8 kB / 307.8 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1027, allocations: 51.53 MB / 359.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.009944/0.1126, allocations: 8.56 MB / 367.8 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007301/0.12, allocations: 3.124 MB / 371 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.1216, allocations: 51.69 kB / 371 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.1235, allocations: 0.5905 MB / 371.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.126, allocations: 0.645 MB / 372.2 MB, free: 224 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1716/0.2976, allocations: 266.3 kB / 372.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003947/0.3015, allocations: 2.454 MB / 375 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/0.3034, allocations: 1.174 MB / 376.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.3048, allocations: 0.7331 MB / 376.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.3064, allocations: 1 MB / 377.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.3066, allocations: 102.6 kB / 378 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.3072, allocations: 207.5 kB / 378.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000618/0.3078, allocations: 0.5356 MB / 378.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009155/0.3087, allocations: 0.9503 MB / 379.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003078/0.3118, allocations: 2.956 MB / 382.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3118, allocations: 0 / 382.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3119, allocations: 3.938 kB / 382.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.458e-05/0.3119, allocations: 1.062 kB / 382.6 MB, free: 8.91 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: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.003904/0.3158, allocations: 1.955 MB / 384.6 MB, free: 7.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3159, allocations: 8.625 kB / 384.6 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007582/0.3167, allocations: 240.8 kB / 384.8 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.3185, allocations: 1.204 MB / 386 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.737e-05/0.3186, allocations: 115 kB / 386.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/0.3189, allocations: 155.1 kB / 386.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00356/0.3225, allocations: 2.042 MB / 388.3 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.374e-05/0.3225, allocations: 6.453 kB / 388.3 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.3227, allocations: 62.97 kB / 388.4 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.577e-05/0.3228, allocations: 80.52 kB / 388.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.3258, allocations: 1.685 MB / 390.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009432/0.3353, allocations: 7.13 MB / 397.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009023/0.3362, allocations: 480.5 kB / 397.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.3366, allocations: 283.5 kB / 398 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.3369, allocations: 118 kB / 398.1 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3369, allocations: 41.88 kB / 398.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.835e-06/0.3369, allocations: 0 / 398.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007563/0.3445, allocations: 3.145 MB / 401.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3446, allocations: 61.47 kB / 401.4 MB, free: 13.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.3471, allocations: 1.632 MB / 403 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.058e-05/0.3472, allocations: 41.64 kB / 403.1 MB, free: 11.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006992/0.3479, allocations: 1.033 MB / 404.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.3481, allocations: 237.8 kB / 404.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.3483, allocations: 129.6 kB / 404.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.3484, allocations: 305.1 kB / 404.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009098/0.3493, allocations: 0.5348 MB / 405.3 MB, free: 9.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.3507, allocations: 1.462 MB / 406.8 MB, free: 7.656 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.3535, allocations: 2.156 MB / 408.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.3535, allocations: 15.94 kB / 408.9 MB, free: 5.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003649/0.3572, allocations: 2.183 MB / 411.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.3572, allocations: 20 kB / 411.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/0.3572, allocations: 32.91 kB / 411.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/0.3578, allocations: 230.4 kB / 411.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.3589, allocations: 403.2 kB / 411.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.3605, allocations: 1.719 MB / 413.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.3619, allocations: 147.4 kB / 413.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.3621, allocations: 96 kB / 413.7 MB, free: 56 kB / 318.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.000994/0.3631, allocations: 0.5828 MB / 414.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.3633, allocations: 158.1 kB / 414.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.3654, allocations: 1.114 MB / 415.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3654, allocations: 8 kB / 415.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3654, allocations: 7.938 kB / 415.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3654, allocations: 0 / 415.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004761/0.3702, allocations: 2.796 MB / 418.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.3702, allocations: 4.156 kB / 418.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.3707, allocations: 127.8 kB / 418.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/0.3712, allocations: 166.4 kB / 418.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.3713, allocations: 12 kB / 418.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.3728, allocations: 1.657 MB / 420.4 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3728, allocations: 4.062 kB / 420.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.3756, allocations: 1.662 MB / 422 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/0.3762, allocations: 303.3 kB / 422.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.3764, allocations: 19.92 kB / 422.3 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006944/0.3771, allocations: 60 kB / 422.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3772, allocations: 52.42 kB / 422.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.3773, allocations: 16 kB / 422.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001594/0.3789, allocations: 1.083 MB / 423.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3789, allocations: 0 / 423.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001436/0.3803, allocations: 360 kB / 423.9 MB, free: 5.578 MB / 334.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.0002912/0.3806, allocations: 163 kB / 424.1 MB, free: 5.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.3832, allocations: 1.639 MB / 425.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3832, allocations: 0 / 425.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3843, allocations: 0.7753 MB / 426.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.3865, allocations: 396.8 kB / 426.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.3915, allocations: 3.682 MB / 430.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.3927, allocations: 1.465 MB / 432 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001126/0.3938, allocations: 357.9 kB / 432.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.3941, allocations: 111.4 kB / 432.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3941, allocations: 0 / 432.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Templates: time 0.03528/0.4294, allocations: 18.62 MB / 451.1 MB, free: 10.41 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (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) 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.0.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) Reference file matches