Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 113.6 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 56.39 kB / 280.2 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 46.63 MB / 326.8 MB, free: 4.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03109/0.1349, allocations: 29.74 MB / 356.6 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02024/0.1552, allocations: 8.519 MB / 365.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008949/0.1642, allocations: 163.5 kB / 365.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01403/0.1783, allocations: 4.572 MB / 369.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.1888, allocations: 2.675 MB / 372.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005218/0.1941, allocations: 1.493 MB / 374 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2167/0.4107, allocations: 8.747 MB / 382.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02077/0.4315, allocations: 14.35 MB / 397.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007612/0.4392, allocations: 4.187 MB / 401.3 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008022/0.4472, allocations: 4.781 MB / 406 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003739/0.451, allocations: 1.161 MB / 407.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005965/0.457, allocations: 1.53 MB / 408.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004008/0.461, allocations: 2.407 MB / 411.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00966/0.4707, allocations: 4.669 MB / 415.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02203/0.4928, allocations: 15.94 MB / 431.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4928, allocations: 0 / 431.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4928, allocations: 4 kB / 431.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004368/0.4933, allocations: 0 / 431.8 MB, free: 4.082 MB / 334.1 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.03604/0.5293, allocations: 9.778 MB / 441.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.5294, allocations: 8.031 kB / 441.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02943/0.5588, allocations: 5.261 MB / 446.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/0.5706, allocations: 4.644 MB / 451.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007794/0.5714, allocations: 0.5366 MB / 452 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003746/0.5752, allocations: 0.7089 MB / 452.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03126/0.6065, allocations: 11.31 MB / 464 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004278/0.6069, allocations: 27.45 kB / 464 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002411/0.6094, allocations: 297.7 kB / 464.3 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004783/0.6099, allocations: 447 kB / 464.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02622/0.6361, allocations: 10.8 MB / 475.6 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08089/0.7171, allocations: 37.97 MB / 0.5015 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02276/0.7399, allocations: 28.13 MB / 0.529 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2126/0.9525, allocations: 2.641 MB / 0.5315 GB, free: 152.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01563/0.9682, allocations: 7.927 MB / 0.5393 GB, free: 149.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.9682, allocations: 56.25 kB / 0.5393 GB, free: 149.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.899e-06/0.9683, allocations: 0 / 0.5393 GB, free: 149.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01958/0.9878, allocations: 10.37 MB / 0.5495 GB, free: 145.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001545/0.9894, allocations: 2.008 MB / 0.5514 GB, free: 143.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005204/0.9946, allocations: 3.823 MB / 0.5552 GB, free: 142.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000444/0.9951, allocations: 65.64 kB / 0.5552 GB, free: 142.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001825/0.9969, allocations: 3.544 MB / 0.5587 GB, free: 139.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007933/0.9977, allocations: 0.8321 MB / 0.5595 GB, free: 138.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.9989, allocations: 0.949 MB / 0.5604 GB, free: 138.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.9989, allocations: 306.3 kB / 0.5607 GB, free: 138 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/1.001, allocations: 1.897 MB / 0.5626 GB, free: 137.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00316/1.004, allocations: 4.384 MB / 0.5668 GB, free: 133.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005535/1.01, allocations: 6.793 MB / 0.5735 GB, free: 127.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-05/1.01, allocations: 23.31 kB / 0.5735 GB, free: 127.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01186/1.022, allocations: 6.982 MB / 0.5803 GB, free: 124.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/1.022, allocations: 43.8 kB / 0.5804 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/1.022, allocations: 92.16 kB / 0.5805 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/1.024, allocations: 0.7343 MB / 0.5812 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/1.027, allocations: 1.123 MB / 0.5823 GB, free: 122.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/1.033, allocations: 5.65 MB / 0.5878 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004033/1.037, allocations: 313.8 kB / 0.5881 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007118/1.038, allocations: 267.9 kB / 0.5883 GB, free: 117.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * 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 {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003951/1.042, allocations: 2.523 MB / 0.5908 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008797/1.043, allocations: 387.2 kB / 0.5912 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005938/1.049, allocations: 4.285 MB / 0.5954 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.049, allocations: 24 kB / 0.5954 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.049, allocations: 4 kB / 0.5954 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/1.049, allocations: 15.95 kB / 0.5954 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01967/1.068, allocations: 14.29 MB / 0.6094 GB, free: 95.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/1.068, allocations: 8 kB / 0.6094 GB, free: 95.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.07, allocations: 483.2 kB / 0.6098 GB, free: 95.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/1.072, allocations: 0.6931 MB / 0.6105 GB, free: 94.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/1.072, allocations: 67.98 kB / 0.6106 GB, free: 94.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006791/1.079, allocations: 7.498 MB / 0.6179 GB, free: 86.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001251/1.08, allocations: 1.961 MB / 0.6198 GB, free: 84.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008212/1.088, allocations: 6.73 MB / 0.6264 GB, free: 77.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/1.09, allocations: 0.8006 MB / 0.6272 GB, free: 76.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006987/1.091, allocations: 60 kB / 0.6272 GB, free: 76.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.093, allocations: 163.9 kB / 0.6274 GB, free: 76.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004116/1.093, allocations: 217.5 kB / 0.6276 GB, free: 76.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.093, allocations: 91.92 kB / 0.6277 GB, free: 76.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003145/1.097, allocations: 2.513 MB / 0.6301 GB, free: 73.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.097, allocations: 3.844 kB / 0.6301 GB, free: 73.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00503/1.102, allocations: 1.287 MB / 0.6314 GB, free: 72.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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 {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005119/1.102, allocations: 228.3 kB / 0.6316 GB, free: 72.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01252/1.115, allocations: 7.014 MB / 0.6384 GB, free: 65.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.41e-05/1.115, allocations: 8.312 kB / 0.6385 GB, free: 65.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00358/1.118, allocations: 2.415 MB / 0.6408 GB, free: 62.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005477/1.124, allocations: 0.9804 MB / 0.6418 GB, free: 61.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/1.144, allocations: 15.44 MB / 0.6568 GB, free: 46.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003379/1.147, allocations: 4.496 MB / 0.6612 GB, free: 41.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003813/1.151, allocations: 1.367 MB / 0.6626 GB, free: 40.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007049/1.152, allocations: 291.4 kB / 0.6629 GB, free: 39.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.332e-06/1.152, allocations: 0 / 0.6629 GB, free: 39.84 MB / 446.1 MB Notification: Performance of Templates: time 0.2929/1.445, allocations: 56.82 MB / 0.7183 GB, free: 129.2 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches