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.001078/0.001078, allocations: 118.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 55.16 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08968, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01056/0.1003, allocations: 9.105 MB / 368 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005653/0.106, allocations: 3.186 MB / 371.2 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008791/0.1069, allocations: 43.81 kB / 371.3 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.1085, allocations: 0.6678 MB / 371.9 MB, free: 264 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1598/0.2684, allocations: 0.7056 MB / 372.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008222/0.2692, allocations: 321.3 kB / 372.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002896/0.2721, allocations: 2.14 MB / 375.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.2739, allocations: 1.429 MB / 376.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.2755, allocations: 0.9258 MB / 377.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.2768, allocations: 1.142 MB / 378.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.2771, allocations: 231.9 kB / 378.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006213/0.2778, allocations: 328 kB / 379.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006683/0.2784, allocations: 0.6788 MB / 379.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000989/0.2794, allocations: 1.1 MB / 380.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003068/0.2825, allocations: 3.138 MB / 384 MB, free: 8.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2825, allocations: 5.062 kB / 384 MB, free: 8.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2825, allocations: 0 / 384 MB, free: 8.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.699e-05/0.2826, allocations: 0 / 384 MB, free: 8.613 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.004437/0.287, allocations: 2.294 MB / 386.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2871, allocations: 13.16 kB / 386.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006562/0.2878, allocations: 232 kB / 386.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.2898, allocations: 1.239 MB / 387.8 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.2899, allocations: 120.7 kB / 387.9 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.2902, allocations: 152.4 kB / 388.1 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/0.2933, allocations: 2.033 MB / 390.1 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-05/0.2933, allocations: 13.34 kB / 390.1 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.2935, allocations: 63 kB / 390.2 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.352e-05/0.2936, allocations: 74.91 kB / 390.3 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.296, allocations: 1.676 MB / 391.9 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008371/0.3044, allocations: 7.037 MB / 399 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008121/0.3052, allocations: 475.8 kB / 399.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004354/0.3057, allocations: 276.2 kB / 399.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.3059, allocations: 121.5 kB / 399.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.306, allocations: 42.59 kB / 399.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.675e-06/0.306, allocations: 4 kB / 399.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.006372/0.3124, allocations: 3.017 MB / 402.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.3124, allocations: 59.97 kB / 403 MB, free: 12.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.3146, allocations: 1.636 MB / 404.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.3147, allocations: 37.64 kB / 404.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006746/0.3153, allocations: 1.035 MB / 405.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.3155, allocations: 236.6 kB / 405.9 MB, free: 9.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004228/0.3159, allocations: 322.2 kB / 406.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3161, allocations: 301.1 kB / 406.5 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008521/0.3169, allocations: 0.5231 MB / 407 MB, free: 8.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.3184, allocations: 1.45 MB / 408.5 MB, free: 6.395 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/0.3207, allocations: 2.136 MB / 410.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.3207, allocations: 12 kB / 410.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003373/0.3241, allocations: 2.168 MB / 412.8 MB, free: 1.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.3242, allocations: 16 kB / 412.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/0.3242, allocations: 36 kB / 412.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005326/0.3247, allocations: 232.6 kB / 413.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.3259, allocations: 391.3 kB / 413.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.3276, allocations: 1.847 MB / 415.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.329, allocations: 143.3 kB / 415.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.3292, allocations: 99.98 kB / 415.5 MB, free: 14.7 MB / 334.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.0008984/0.3301, allocations: 0.5867 MB / 416.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.3303, allocations: 158.1 kB / 416.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.3322, allocations: 1.086 MB / 417.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3322, allocations: 8 kB / 417.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3322, allocations: 0 / 417.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.3322, allocations: 7.984 kB / 417.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/0.3368, allocations: 2.761 MB / 420.1 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3368, allocations: 48 / 420.1 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.3373, allocations: 127.8 kB / 420.3 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/0.3377, allocations: 170.4 kB / 420.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.3378, allocations: 12 kB / 420.4 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.3393, allocations: 1.789 MB / 422.2 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3393, allocations: 0 / 422.2 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.3417, allocations: 1.635 MB / 423.9 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006199/0.3424, allocations: 295.2 kB / 424.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.3425, allocations: 15.94 kB / 424.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/0.3432, allocations: 59.98 kB / 424.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3433, allocations: 52.38 kB / 424.3 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.3434, allocations: 16 kB / 424.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001478/0.3449, allocations: 1.083 MB / 425.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3449, allocations: 0 / 425.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001376/0.3463, allocations: 360 kB / 425.7 MB, free: 4.191 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.0002913/0.3466, allocations: 167.2 kB / 425.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002417/0.349, allocations: 1.624 MB / 427.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.349, allocations: 0 / 427.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.3501, allocations: 0.7592 MB / 428.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.3517, allocations: 407.7 kB / 428.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.3562, allocations: 2.969 MB / 431.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.3573, allocations: 1.465 MB / 433.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009241/0.3582, allocations: 354 kB / 433.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.3585, allocations: 115.4 kB / 433.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3585, allocations: 0 / 433.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Templates: time 0.03276/0.3913, allocations: 19.61 MB / 453.2 MB, free: 8.805 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 -s cvode -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