Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009004/0.0009003, allocations: 179 kB / 18.04 MB, free: 3.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007463/0.0007464, allocations: 93 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002937, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1914, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.3079, allocations: 113.6 MB / 490.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.3082, allocations: 91.89 kB / 490.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.287/0.5952, allocations: 58.28 MB / 0.5361 GB, free: 82.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5953, allocations: 0 / 0.5361 GB, free: 82.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002477/0.5955, allocations: 87.86 kB / 0.5362 GB, free: 82.85 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.007307/0.6028, allocations: 3.229 MB / 0.5393 GB, free: 79.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.6029, allocations: 12.03 kB / 0.5393 GB, free: 79.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.6043, allocations: 396.6 kB / 0.5397 GB, free: 79.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004635/0.6089, allocations: 2.254 MB / 0.5419 GB, free: 76.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.6091, allocations: 206 kB / 0.5421 GB, free: 76.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007206/0.6098, allocations: 292.2 kB / 0.5424 GB, free: 76.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006194/0.616, allocations: 3.68 MB / 0.546 GB, free: 72.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.396e-05/0.6162, allocations: 8.031 kB / 0.546 GB, free: 72.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003086/0.6165, allocations: 123.9 kB / 0.5461 GB, free: 72.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.6166, allocations: 137.5 kB / 0.5462 GB, free: 72.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005175/0.6218, allocations: 2.95 MB / 0.5491 GB, free: 69.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.6385, allocations: 11.69 MB / 0.5605 GB, free: 57.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.6407, allocations: 1.983 MB / 0.5625 GB, free: 55.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.6419, allocations: 0.9467 MB / 0.5634 GB, free: 54.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.6422, allocations: 227.5 kB / 0.5636 GB, free: 53.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.6422, allocations: 43.88 kB / 0.5637 GB, free: 53.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.707e-06/0.6422, allocations: 0 / 0.5637 GB, free: 53.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=149): time 0.01318/0.6554, allocations: 7.586 MB / 0.5711 GB, free: 46.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.6555, allocations: 72.72 kB / 0.5711 GB, free: 46.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002674/0.6581, allocations: 1.952 MB / 0.573 GB, free: 44.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.6583, allocations: 53.7 kB / 0.5731 GB, free: 44.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006199/0.6589, allocations: 1.401 MB / 0.5745 GB, free: 42.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.6592, allocations: 0.516 MB / 0.575 GB, free: 42.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.6593, allocations: 36 kB / 0.575 GB, free: 42.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.6594, allocations: 381.8 kB / 0.5754 GB, free: 41.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.6606, allocations: 0.8823 MB / 0.5762 GB, free: 40.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.6619, allocations: 1.427 MB / 0.5776 GB, free: 39.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002593/0.6645, allocations: 2.479 MB / 0.58 GB, free: 36.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/0.6645, allocations: 4 kB / 0.58 GB, free: 36.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004465/0.669, allocations: 3.035 MB / 0.583 GB, free: 33.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.669, allocations: 19.28 kB / 0.583 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.6691, allocations: 16.44 kB / 0.583 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.6703, allocations: 0.5488 MB / 0.5836 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.6717, allocations: 439.3 kB / 0.584 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005863/0.6776, allocations: 6.285 MB / 0.5901 GB, free: 25.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.6795, allocations: 147.8 kB / 0.5903 GB, free: 25.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.6797, allocations: 79.98 kB / 0.5903 GB, free: 25.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (209): * Single equations (assignments): 206 * 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: 2 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001753/0.6815, allocations: 0.9032 MB / 0.5912 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005157/0.682, allocations: 213.3 kB / 0.5914 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/0.6862, allocations: 2.672 MB / 0.594 GB, free: 21.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.6862, allocations: 16 kB / 0.5941 GB, free: 21.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.6862, allocations: 4 kB / 0.5941 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.6862, allocations: 7.969 kB / 0.5941 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008964/0.6952, allocations: 5.755 MB / 0.5997 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.6952, allocations: 7.938 kB / 0.5997 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009922/0.6962, allocations: 255.6 kB / 0.5999 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.6976, allocations: 0.5726 MB / 0.6005 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.6977, allocations: 43.98 kB / 0.6005 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006742/0.7044, allocations: 7.984 MB / 0.6083 GB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7045, allocations: 4 kB / 0.6083 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005335/0.7098, allocations: 3.903 MB / 0.6122 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.7109, allocations: 490.3 kB / 0.6126 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004636/0.7114, allocations: 35.98 kB / 0.6127 GB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.7127, allocations: 99.88 kB / 0.6127 GB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.7129, allocations: 113 kB / 0.6129 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.713, allocations: 48.3 kB / 0.6129 GB, free: 1.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00229/0.7153, allocations: 1.326 MB / 0.6142 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7154, allocations: 3.938 kB / 0.6142 GB, free: 500 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.002153/0.7175, allocations: 0.6173 MB / 0.6148 GB, free: 15.87 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.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 (124): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,76.0%) 20,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006806/0.7182, allocations: 413 kB / 0.6152 GB, free: 15.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004107/0.7223, allocations: 2.624 MB / 0.6178 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.7224, allocations: 1.875 kB / 0.6178 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.7248, allocations: 1.584 MB / 0.6193 GB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.7281, allocations: 0.5067 MB / 0.6198 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.7388, allocations: 6.815 MB / 0.6265 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002335/0.7412, allocations: 2.218 MB / 0.6286 GB, free: 1.543 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001778/0.743, allocations: 0.4902 MB / 0.6291 GB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.7435, allocations: 155.4 kB / 0.6293 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.7435, allocations: 4 kB / 0.6293 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of Templates: time 0.2195/0.963, allocations: 33.16 MB / 0.6616 GB, free: 99.78 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_VoltageSource/SMPM_VoltageSource.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches