Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008579/0.0008581, allocations: 92.89 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.489e-05/1.492e-05, allocations: 4 kB / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 51.47 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4971/0.6055, allocations: 149.1 MB / 0.5315 GB, free: 9.156 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.6059, allocations: 100.2 kB / 0.5316 GB, free: 9.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.046/1.652, allocations: 241.5 MB / 0.7675 GB, free: 50.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.353e-06/1.652, allocations: 0 / 0.7675 GB, free: 50.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007316/1.653, allocations: 167.8 kB / 0.7676 GB, free: 50 MB / 458.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.02698/1.68, allocations: 6.825 MB / 0.7743 GB, free: 47.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.68, allocations: 9.594 kB / 0.7743 GB, free: 47.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0204/1.7, allocations: 3.647 MB / 0.7778 GB, free: 47.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01877/1.719, allocations: 6.047 MB / 0.7838 GB, free: 46.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007167/1.72, allocations: 229 kB / 0.784 GB, free: 46.49 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003979/1.724, allocations: 423.4 kB / 0.7844 GB, free: 46.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02405/1.748, allocations: 8.915 MB / 0.7931 GB, free: 46.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03676/1.785, allocations: 9.912 MB / 0.8028 GB, free: 45.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006034/1.785, allocations: 10.22 kB / 0.8028 GB, free: 45.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003062/1.789, allocations: 9.125 kB / 0.8028 GB, free: 45.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007836/1.789, allocations: 0.5124 MB / 0.8033 GB, free: 45.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07864/1.868, allocations: 38.23 MB / 0.8406 GB, free: 31.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02239/1.89, allocations: 28.08 MB / 0.868 GB, free: 20.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004767/1.895, allocations: 2.609 MB / 0.8706 GB, free: 19.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02042/1.916, allocations: 8.822 MB / 0.8792 GB, free: 14.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/1.916, allocations: 51.28 kB / 0.8792 GB, free: 14.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=217): time 5.64e-06/1.916, allocations: 0 / 0.8792 GB, free: 14.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=233): time 0.02729/1.943, allocations: 10.85 MB / 0.8898 GB, free: 10.33 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/1.943, allocations: 75.28 kB / 0.8899 GB, free: 10.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005627/1.949, allocations: 2.837 MB / 0.8927 GB, free: 9.098 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004555/1.949, allocations: 25.7 kB / 0.8927 GB, free: 9.066 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002435/1.952, allocations: 3.553 MB / 0.8962 GB, free: 6.336 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009862/1.953, allocations: 0.7936 MB / 0.897 GB, free: 5.727 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/1.953, allocations: 0 / 0.897 GB, free: 5.727 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003325/1.953, allocations: 0.4954 MB / 0.8974 GB, free: 5.336 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/1.956, allocations: 1.872 MB / 0.8993 GB, free: 4.559 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004218/1.96, allocations: 4.267 MB / 0.9034 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008319/1.968, allocations: 3.678 MB / 0.907 GB, free: 15.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/1.969, allocations: 24.56 kB / 0.907 GB, free: 15.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01748/1.986, allocations: 7.314 MB / 0.9142 GB, free: 10.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.816e-05/1.986, allocations: 44.92 kB / 0.9142 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/1.986, allocations: 84 kB / 0.9143 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/1.988, allocations: 0.7376 MB / 0.915 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/1.993, allocations: 1.132 MB / 0.9161 GB, free: 9.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00696/2, allocations: 5.02 MB / 0.921 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/2.005, allocations: 241 kB / 0.9213 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/2.006, allocations: 270.3 kB / 0.9215 GB, free: 4.098 MB / 490.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.0008164/2.007, allocations: 314.7 kB / 0.9218 GB, free: 3.781 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009836/2.008, allocations: 354.9 kB / 0.9222 GB, free: 3.434 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.362/2.369, allocations: 5.011 MB / 0.9271 GB, free: 74.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/2.37, allocations: 24.41 kB / 0.9271 GB, free: 74.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/2.37, allocations: 5.875 kB / 0.9271 GB, free: 74.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/2.37, allocations: 14.25 kB / 0.9271 GB, free: 74.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03265/2.402, allocations: 14.33 MB / 0.9411 GB, free: 73.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/2.402, allocations: 16.39 kB / 0.9411 GB, free: 73.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/2.404, allocations: 0.4909 MB / 0.9416 GB, free: 73.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/2.406, allocations: 0.6802 MB / 0.9423 GB, free: 73.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002659/2.407, allocations: 29.64 kB / 0.9423 GB, free: 73.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007834/2.415, allocations: 6.695 MB / 0.9488 GB, free: 71.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001389/2.416, allocations: 1.798 MB / 0.9506 GB, free: 69.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/2.43, allocations: 8.635 MB / 0.959 GB, free: 67.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/2.432, allocations: 0.7854 MB / 0.9598 GB, free: 67.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008455/2.433, allocations: 16.56 kB / 0.9598 GB, free: 67.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/2.435, allocations: 166.8 kB / 0.96 GB, free: 67.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004156/2.436, allocations: 212.6 kB / 0.9602 GB, free: 67.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/2.436, allocations: 89.8 kB / 0.9602 GB, free: 67.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004113/2.44, allocations: 2.007 MB / 0.9622 GB, free: 67.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.6e-07/2.44, allocations: 0 / 0.9622 GB, free: 67.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0073/2.447, allocations: 1.199 MB / 0.9634 GB, free: 67.66 MB / 490.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.001362/2.449, allocations: 0.5547 MB / 0.9639 GB, free: 67.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008444/2.457, allocations: 4.979 MB / 0.9688 GB, free: 67.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/2.457, allocations: 2.438 kB / 0.9688 GB, free: 67.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004374/2.462, allocations: 2.392 MB / 0.9711 GB, free: 66.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005796/2.467, allocations: 0.7435 MB / 0.9718 GB, free: 66.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/2.495, allocations: 10.72 MB / 0.9823 GB, free: 64.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005417/2.5, allocations: 4.622 MB / 0.9868 GB, free: 63.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004902/2.505, allocations: 1.34 MB / 0.9881 GB, free: 63.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008352/2.506, allocations: 281.8 kB / 0.9884 GB, free: 63.53 MB / 490.7 MB Notification: Performance of SimCode: time 1.143e-06/2.506, allocations: 0 / 0.9884 GB, free: 63.53 MB / 490.7 MB Notification: Performance of Templates: time 0.08936/2.595, allocations: 48.84 MB / 1.036 GB, free: 60.95 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches