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.001353/0.001353, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001507/0.001507, allocations: 217.7 kB / 18.79 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.4 MB / 246.9 MB, free: 9 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.17 kB / 306.9 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.08972, allocations: 50.54 MB / 357.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01029/0.1001, allocations: 9.059 MB / 366.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005449/0.1055, allocations: 3.163 MB / 369.7 MB, free: 1.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.1068, allocations: 43.81 kB / 369.7 MB, free: 1.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.1089, allocations: 0.5983 MB / 370.3 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.1113, allocations: 0.6411 MB / 370.9 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009097/0.1122, allocations: 283.7 kB / 371.2 MB, free: 412 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1565/0.2687, allocations: 2.45 MB / 373.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.2705, allocations: 1.191 MB / 374.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.272, allocations: 0.8131 MB / 375.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.2734, allocations: 1.114 MB / 376.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.2736, allocations: 144.4 kB / 376.9 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006419/0.2743, allocations: 249 kB / 377.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005683/0.2749, allocations: 0.5929 MB / 377.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000952/0.2758, allocations: 0.9996 MB / 378.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.2783, allocations: 2.583 MB / 381.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2783, allocations: 0.5625 kB / 381.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2783, allocations: 0 / 381.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.109e-05/0.2784, allocations: 1.375 kB / 381.4 MB, free: 9.234 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.004549/0.283, allocations: 2.303 MB / 383.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.283, allocations: 9.625 kB / 383.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.2837, allocations: 233.2 kB / 383.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.2854, allocations: 1.195 MB / 385.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.982e-05/0.2855, allocations: 118 kB / 385.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.2857, allocations: 156.5 kB / 385.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/0.2888, allocations: 2.033 MB / 387.4 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.2888, allocations: 10.19 kB / 387.4 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.289, allocations: 62 kB / 387.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.028e-05/0.2891, allocations: 86.94 kB / 387.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002624/0.2917, allocations: 1.676 MB / 389.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00881/0.3005, allocations: 7.095 MB / 396.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000906/0.3015, allocations: 473.7 kB / 396.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/0.3019, allocations: 277.4 kB / 397 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.3022, allocations: 119.8 kB / 397.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3022, allocations: 36.75 kB / 397.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/0.3022, allocations: 2.375 kB / 397.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.006516/0.3088, allocations: 3.027 MB / 400.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.3088, allocations: 58.59 kB / 400.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.311, allocations: 1.63 MB / 401.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.3111, allocations: 37.7 kB / 402 MB, free: 12.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/0.3118, allocations: 1.032 MB / 403 MB, free: 11.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.312, allocations: 236 kB / 403.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004004/0.3124, allocations: 319.1 kB / 403.5 MB, free: 11.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.3125, allocations: 309.1 kB / 403.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008588/0.3133, allocations: 0.5168 MB / 404.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.3149, allocations: 1.464 MB / 405.8 MB, free: 8.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.3174, allocations: 2.137 MB / 407.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.3174, allocations: 8 kB / 408 MB, free: 5.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003771/0.3212, allocations: 2.156 MB / 410.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.3213, allocations: 23.98 kB / 410.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/0.3213, allocations: 32 kB / 410.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.3219, allocations: 226.4 kB / 410.4 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.323, allocations: 399.5 kB / 410.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.3246, allocations: 1.714 MB / 412.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.3262, allocations: 143.3 kB / 412.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.3263, allocations: 92 kB / 412.7 MB, free: 0.8633 MB / 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.0009766/0.3273, allocations: 0.5979 MB / 413.3 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/0.3276, allocations: 150.1 kB / 413.5 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.3296, allocations: 1.094 MB / 414.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3297, allocations: 8 kB / 414.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3297, allocations: 3.938 kB / 414.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3297, allocations: 3.984 kB / 414.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/0.3344, allocations: 2.774 MB / 417.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3344, allocations: 4 kB / 417.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/0.3349, allocations: 123.8 kB / 417.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/0.3354, allocations: 158.4 kB / 417.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.3354, allocations: 20.14 kB / 417.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.3369, allocations: 1.651 MB / 419.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.337, allocations: 7.969 kB / 419.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.3396, allocations: 1.627 MB / 420.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007212/0.3404, allocations: 307.1 kB / 421.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.3405, allocations: 15.94 kB / 421.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/0.3412, allocations: 52 kB / 421.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.3414, allocations: 48.58 kB / 421.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.3414, allocations: 23.98 kB / 421.4 MB, free: 7.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001594/0.343, allocations: 1.079 MB / 422.5 MB, free: 6.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.343, allocations: 0 / 422.5 MB, free: 6.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001569/0.3446, allocations: 364 kB / 422.8 MB, free: 6.473 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.000344/0.345, allocations: 167.1 kB / 423 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.3476, allocations: 1.608 MB / 424.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3476, allocations: 4.188 kB / 424.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.3487, allocations: 0.7553 MB / 425.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.3507, allocations: 379.7 kB / 425.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.3558, allocations: 3.704 MB / 429.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.3568, allocations: 1.461 MB / 430.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.3573, allocations: 119.4 kB / 431 MB, free: 14.11 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3573, allocations: 0 / 431 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Templates: time 0.05378/0.4111, allocations: 47.25 MB / 478.2 MB, free: 14.94 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/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