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.001377/0.001377, allocations: 109.9 kB / 18.25 MB, free: 4.762 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.001446/0.001446, allocations: 195.6 kB / 19.19 MB, free: 3.832 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.366/1.366, allocations: 205.1 MB / 225 MB, free: 12.3 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.001348/0.001348, allocations: 56.14 kB / 281.3 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08587/0.08724, allocations: 46.63 MB / 328 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03221/0.1195, allocations: 30.24 MB / 358.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.1393, allocations: 8.643 MB / 366.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006696/0.146, allocations: 163.5 kB / 367 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01271/0.1588, allocations: 4.899 MB / 371.9 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009939/0.1688, allocations: 2.945 MB / 374.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005452/0.1743, allocations: 1.606 MB / 376.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1825/0.3568, allocations: 8.649 MB / 385.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02214/0.379, allocations: 12.88 MB / 398 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008028/0.387, allocations: 4.212 MB / 402.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007775/0.3949, allocations: 4.748 MB / 407 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003677/0.3986, allocations: 1.163 MB / 408.1 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005782/0.4044, allocations: 1.533 MB / 409.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003786/0.4082, allocations: 2.41 MB / 412.1 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008712/0.417, allocations: 4.674 MB / 416.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02193/0.4389, allocations: 15.87 MB / 432.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.439, allocations: 0 / 432.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.439, allocations: 4 kB / 432.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005099/0.4395, allocations: 0 / 432.6 MB, free: 4.34 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.03014/0.4697, allocations: 9.784 MB / 442.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4697, allocations: 11.97 kB / 442.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03092/0.5007, allocations: 5.26 MB / 447.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.5111, allocations: 4.663 MB / 452.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005232/0.5117, allocations: 0.5327 MB / 452.9 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003021/0.5147, allocations: 0.7148 MB / 453.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02913/0.5439, allocations: 11.32 MB / 464.9 MB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004294/0.5444, allocations: 11.91 kB / 464.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00255/0.5469, allocations: 298.1 kB / 465.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005166/0.5475, allocations: 443 kB / 465.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02556/0.573, allocations: 10.81 MB / 476.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07104/0.6441, allocations: 37.99 MB / 0.5024 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02264/0.6668, allocations: 28.11 MB / 0.5298 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1902/0.8571, allocations: 2.643 MB / 0.5324 GB, free: 152.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/0.8742, allocations: 7.937 MB / 0.5401 GB, free: 149.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/0.8743, allocations: 57.31 kB / 0.5402 GB, free: 149.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.608e-06/0.8743, allocations: 2.438 kB / 0.5402 GB, free: 149.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.02067/0.895, allocations: 10.36 MB / 0.5503 GB, free: 145.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001699/0.8968, allocations: 2.01 MB / 0.5523 GB, free: 143.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005802/0.9026, allocations: 3.825 MB / 0.556 GB, free: 142.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000467/0.9031, allocations: 68.98 kB / 0.5561 GB, free: 142.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002166/0.9053, allocations: 3.548 MB / 0.5595 GB, free: 139.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009462/0.9062, allocations: 0.8291 MB / 0.5604 GB, free: 138.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/0.9076, allocations: 0.9551 MB / 0.5613 GB, free: 138.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.9076, allocations: 301.1 kB / 0.5616 GB, free: 137.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/0.91, allocations: 1.887 MB / 0.5634 GB, free: 137.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003674/0.9137, allocations: 4.397 MB / 0.5677 GB, free: 133.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005954/0.9196, allocations: 6.785 MB / 0.5743 GB, free: 127.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-05/0.9197, allocations: 27.12 kB / 0.5744 GB, free: 127.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.0108/0.9305, allocations: 6.98 MB / 0.5812 GB, free: 124.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.9306, allocations: 48.66 kB / 0.5812 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.9307, allocations: 88 kB / 0.5813 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.9325, allocations: 0.7416 MB / 0.582 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003497/0.936, allocations: 1.117 MB / 0.5831 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006034/0.9421, allocations: 5.64 MB / 0.5886 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004441/0.9466, allocations: 309.5 kB / 0.5889 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007121/0.9473, allocations: 275.9 kB / 0.5892 GB, free: 117.3 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.004542/0.9519, allocations: 2.526 MB / 0.5917 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/0.9529, allocations: 383.3 kB / 0.592 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006143/0.959, allocations: 4.283 MB / 0.5962 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.9591, allocations: 27.98 kB / 0.5962 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.9591, allocations: 4 kB / 0.5962 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.9591, allocations: 11.95 kB / 0.5962 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/0.9787, allocations: 14.29 MB / 0.6102 GB, free: 95.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.9788, allocations: 8 kB / 0.6102 GB, free: 95.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.9805, allocations: 487.2 kB / 0.6107 GB, free: 95.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/0.9824, allocations: 0.7008 MB / 0.6114 GB, free: 94.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/0.9827, allocations: 71.98 kB / 0.6114 GB, free: 94.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007477/0.9902, allocations: 7.484 MB / 0.6187 GB, free: 86.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001339/0.9915, allocations: 1.956 MB / 0.6206 GB, free: 84.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008455/1, allocations: 6.741 MB / 0.6272 GB, free: 77.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/1.002, allocations: 0.789 MB / 0.628 GB, free: 76.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000698/1.003, allocations: 63.98 kB / 0.6281 GB, free: 76.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.005, allocations: 163.9 kB / 0.6282 GB, free: 76.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003926/1.005, allocations: 221.4 kB / 0.6284 GB, free: 76.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/1.005, allocations: 96.84 kB / 0.6285 GB, free: 76.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003476/1.009, allocations: 2.506 MB / 0.631 GB, free: 73.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.009, allocations: 0 / 0.631 GB, free: 73.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005182/1.014, allocations: 1.292 MB / 0.6322 GB, free: 72.5 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.0005301/1.015, allocations: 233.4 kB / 0.6324 GB, free: 72.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01172/1.026, allocations: 7.02 MB / 0.6393 GB, free: 65.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.026, allocations: 0 / 0.6393 GB, free: 65.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003325/1.03, allocations: 2.42 MB / 0.6417 GB, free: 62.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004844/1.035, allocations: 0.9792 MB / 0.6426 GB, free: 61.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/1.053, allocations: 12.38 MB / 0.6547 GB, free: 49.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003559/1.056, allocations: 4.374 MB / 0.659 GB, free: 44.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.058, allocations: 335.4 kB / 0.6593 GB, free: 44.5 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/1.058, allocations: 0 / 0.6593 GB, free: 44.5 MB / 446.1 MB Notification: Performance of Templates: time 0.5526/1.61, allocations: 200.6 MB / 0.8552 GB, free: 145.8 MB / 462.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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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