Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.5 MB / 230.3 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.0009647, allocations: 82.19 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.312e-05/1.315e-05, allocations: 0 / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 50.42 MB / 387.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.5746, allocations: 148.1 MB / 0.523 GB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.575, allocations: 103.9 kB / 0.5231 GB, free: 10.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9698/1.545, allocations: 230.6 MB / 0.7484 GB, free: 43.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.545, allocations: 0 / 0.7484 GB, free: 43.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004467/1.545, allocations: 161.1 kB / 0.7485 GB, free: 43.67 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02266/1.568, allocations: 6.773 MB / 0.7551 GB, free: 41.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.568, allocations: 15.59 kB / 0.7551 GB, free: 41.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03095/1.599, allocations: 3.653 MB / 0.7587 GB, free: 40.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02009/1.619, allocations: 6.044 MB / 0.7646 GB, free: 40.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006674/1.62, allocations: 230 kB / 0.7648 GB, free: 40.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004231/1.624, allocations: 423 kB / 0.7652 GB, free: 40.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02663/1.651, allocations: 8.915 MB / 0.7739 GB, free: 40.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03338/1.684, allocations: 9.904 MB / 0.7836 GB, free: 39.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003947/1.685, allocations: 19.78 kB / 0.7836 GB, free: 39.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002379/1.687, allocations: 5.031 kB / 0.7836 GB, free: 39.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006859/1.688, allocations: 0.511 MB / 0.7841 GB, free: 39.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08792/1.776, allocations: 37.32 MB / 0.8206 GB, free: 19.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0263/1.802, allocations: 27.88 MB / 0.8478 GB, free: 8.266 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007242/1.809, allocations: 2.586 MB / 0.8503 GB, free: 5.914 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02736/1.837, allocations: 8.352 MB / 0.8585 GB, free: 15.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.959e-05/1.837, allocations: 60.25 kB / 0.8585 GB, free: 15.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=217): time 5.991e-06/1.837, allocations: 4 kB / 0.8585 GB, free: 15.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=233): time 0.03536/1.872, allocations: 10.03 MB / 0.8683 GB, free: 6.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/1.872, allocations: 73.41 kB / 0.8684 GB, free: 6.484 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008966/1.881, allocations: 2.821 MB / 0.8712 GB, free: 3.984 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009485/1.882, allocations: 25.7 kB / 0.8712 GB, free: 3.953 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00451/1.887, allocations: 3.552 MB / 0.8747 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001966/1.889, allocations: 0.798 MB / 0.8754 GB, free: 36 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006107/1.89, allocations: 4 kB / 0.8754 GB, free: 32 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.3476/2.237, allocations: 0.5228 MB / 0.876 GB, free: 73.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004637/2.242, allocations: 1.874 MB / 0.8778 GB, free: 73.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00616/2.248, allocations: 4.269 MB / 0.8819 GB, free: 70.78 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006677/2.255, allocations: 3.368 MB / 0.8852 GB, free: 70.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-05/2.255, allocations: 26.69 kB / 0.8853 GB, free: 70.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01625/2.271, allocations: 7 MB / 0.8921 GB, free: 70.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/2.271, allocations: 40.59 kB / 0.8921 GB, free: 70.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002286/2.272, allocations: 85.11 kB / 0.8922 GB, free: 70.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002547/2.274, allocations: 0.746 MB / 0.8929 GB, free: 70.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004836/2.279, allocations: 1.129 MB / 0.8941 GB, free: 70.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006804/2.286, allocations: 5.012 MB / 0.8989 GB, free: 69.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004769/2.291, allocations: 248.7 kB / 0.8992 GB, free: 69.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009663/2.292, allocations: 267 kB / 0.8994 GB, free: 69.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 580 * 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 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008996/2.292, allocations: 313.4 kB / 0.8997 GB, free: 69.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008915/2.293, allocations: 361.9 kB / 0.9001 GB, free: 69.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008507/2.302, allocations: 4.729 MB / 0.9047 GB, free: 69.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/2.302, allocations: 25.81 kB / 0.9047 GB, free: 69.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/2.302, allocations: 7 kB / 0.9047 GB, free: 69.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/2.302, allocations: 17.22 kB / 0.9047 GB, free: 69.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/2.324, allocations: 14.08 MB / 0.9185 GB, free: 68.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/2.324, allocations: 11.5 kB / 0.9185 GB, free: 68.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/2.325, allocations: 0.4919 MB / 0.919 GB, free: 68.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001878/2.327, allocations: 0.6791 MB / 0.9196 GB, free: 68.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/2.328, allocations: 31.86 kB / 0.9197 GB, free: 68.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007046/2.335, allocations: 6.697 MB / 0.9262 GB, free: 65.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001482/2.336, allocations: 1.799 MB / 0.928 GB, free: 64.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/2.348, allocations: 8.373 MB / 0.9362 GB, free: 62.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/2.35, allocations: 0.787 MB / 0.9369 GB, free: 61.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000982/2.351, allocations: 23.14 kB / 0.9369 GB, free: 61.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/2.354, allocations: 162.2 kB / 0.9371 GB, free: 61.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005338/2.354, allocations: 217.7 kB / 0.9373 GB, free: 61.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/2.354, allocations: 87.02 kB / 0.9374 GB, free: 61.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003858/2.358, allocations: 2.007 MB / 0.9393 GB, free: 61.65 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.358, allocations: 4 kB / 0.9394 GB, free: 61.65 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006657/2.365, allocations: 1.177 MB / 0.9405 GB, free: 61.63 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 235 * 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 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/2.366, allocations: 0.5361 MB / 0.941 GB, free: 61.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007262/2.373, allocations: 4.976 MB / 0.9459 GB, free: 59.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/2.373, allocations: 3.688 kB / 0.9459 GB, free: 59.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003194/2.377, allocations: 2.392 MB / 0.9482 GB, free: 58.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/2.381, allocations: 0.7306 MB / 0.9489 GB, free: 57.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/2.402, allocations: 10.57 MB / 0.9593 GB, free: 53.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004763/2.407, allocations: 4.618 MB / 0.9638 GB, free: 51.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004425/2.411, allocations: 1.336 MB / 0.9651 GB, free: 51.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007959/2.412, allocations: 281.5 kB / 0.9653 GB, free: 51.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.332e-06/2.412, allocations: 0 / 0.9653 GB, free: 51.66 MB / 458.7 MB Notification: Performance of Templates: time 0.0801/2.492, allocations: 48.48 MB / 1.013 GB, free: 27 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches