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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 104 kB / 19.61 MB, free: 2.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 191.2 kB / 22.76 MB, free: 5.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.6 MB / 251.4 MB, free: 13.46 MB / 206.1 MB [Timeout remaining time 88] 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) 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=1000,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=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 47.92 kB / 369.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3132, allocations: 52.14 MB / 421.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03667/0.3499, allocations: 30.47 MB / 451.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02263/0.3725, allocations: 8.673 MB / 460.5 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007441/0.38, allocations: 183.5 kB / 460.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01372/0.3937, allocations: 4.994 MB / 465.6 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.405, allocations: 3.048 MB / 468.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005522/0.4105, allocations: 1.636 MB / 470.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0151/0.4256, allocations: 8.723 MB / 479 MB, free: 5.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01969/0.4453, allocations: 9.956 MB / 489 MB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007988/0.4533, allocations: 4.25 MB / 493.2 MB, free: 6.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009337/0.4627, allocations: 4.792 MB / 498 MB, free: 2.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003958/0.4666, allocations: 1.164 MB / 499.2 MB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005903/0.4725, allocations: 1.527 MB / 0.489 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00452/0.477, allocations: 2.423 MB / 0.4914 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01123/0.4883, allocations: 4.669 MB / 0.4959 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02739/0.5157, allocations: 15.85 MB / 0.5114 GB, free: 8.457 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.5157, allocations: 0 / 0.5114 GB, free: 8.457 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.5157, allocations: 0 / 0.5114 GB, free: 8.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005489/0.5162, allocations: 0 / 0.5114 GB, free: 8.457 MB / 430.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.03601/0.5522, allocations: 9.925 MB / 0.5211 GB, free: 14.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.5523, allocations: 8.031 kB / 0.5211 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03055/0.5828, allocations: 5.31 MB / 0.5263 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01571/0.5985, allocations: 5.126 MB / 0.5313 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007819/0.5993, allocations: 0.5338 MB / 0.5318 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003829/0.6032, allocations: 0.703 MB / 0.5325 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3334/0.9365, allocations: 11.32 MB / 0.5435 GB, free: 94.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002846/0.9368, allocations: 16.34 kB / 0.5436 GB, free: 94.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002127/0.9389, allocations: 304.4 kB / 0.5439 GB, free: 93.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003911/0.9393, allocations: 445 kB / 0.5443 GB, free: 93.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02529/0.9646, allocations: 10.83 MB / 0.5549 GB, free: 89.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05967/1.024, allocations: 37.67 MB / 0.5916 GB, free: 52.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01743/1.042, allocations: 27.79 MB / 0.6188 GB, free: 21.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00518/1.047, allocations: 2.424 MB / 0.6211 GB, free: 18.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01404/1.061, allocations: 7.906 MB / 0.6289 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.958e-05/1.061, allocations: 56.56 kB / 0.6289 GB, free: 10.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 5.591e-06/1.061, allocations: 0 / 0.6289 GB, free: 10.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01784/1.079, allocations: 10.43 MB / 0.6391 GB, free: 0.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002075/1.081, allocations: 2.015 MB / 0.6411 GB, free: 14.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006773/1.088, allocations: 3.824 MB / 0.6448 GB, free: 10.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004854/1.088, allocations: 69.7 kB / 0.6449 GB, free: 10.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003008/1.091, allocations: 3.665 MB / 0.6485 GB, free: 7.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001121/1.092, allocations: 0.8707 MB / 0.6493 GB, free: 6.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/1.094, allocations: 0.9613 MB / 0.6503 GB, free: 5.348 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/1.094, allocations: 301.1 kB / 0.6505 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/1.097, allocations: 1.895 MB / 0.6524 GB, free: 3.148 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005234/1.102, allocations: 4.391 MB / 0.6567 GB, free: 13.53 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009445/1.112, allocations: 6.795 MB / 0.6633 GB, free: 5.527 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.112e-05/1.112, allocations: 24 kB / 0.6633 GB, free: 5.504 MB / 478.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01379/1.126, allocations: 6.977 MB / 0.6701 GB, free: 14.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/1.126, allocations: 46.5 kB / 0.6702 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/1.126, allocations: 84 kB / 0.6703 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/1.128, allocations: 0.7433 MB / 0.671 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/1.132, allocations: 1.119 MB / 0.6721 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008219/1.14, allocations: 5.641 MB / 0.6776 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/1.145, allocations: 315.4 kB / 0.6779 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007991/1.145, allocations: 272 kB / 0.6782 GB, free: 6.152 MB / 494.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.00538/1.151, allocations: 2.526 MB / 0.6806 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/1.152, allocations: 409.4 kB / 0.681 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008172/1.16, allocations: 4.247 MB / 0.6852 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.16, allocations: 24 kB / 0.6852 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.16, allocations: 8 kB / 0.6852 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/1.16, allocations: 15.94 kB / 0.6852 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02641/1.187, allocations: 14.25 MB / 0.6991 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/1.187, allocations: 15.94 kB / 0.6991 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/1.188, allocations: 483.2 kB / 0.6996 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/1.191, allocations: 0.6815 MB / 0.7003 GB, free: 15.27 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/1.191, allocations: 71.97 kB / 0.7003 GB, free: 15.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/1.201, allocations: 7.506 MB / 0.7077 GB, free: 7.406 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00203/1.203, allocations: 1.961 MB / 0.7096 GB, free: 5.293 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/1.215, allocations: 6.747 MB / 0.7162 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002639/1.218, allocations: 0.8224 MB / 0.717 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009558/1.219, allocations: 55.98 kB / 0.717 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/1.221, allocations: 163.8 kB / 0.7172 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005109/1.221, allocations: 229.2 kB / 0.7174 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/1.222, allocations: 91.98 kB / 0.7175 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005101/1.227, allocations: 2.509 MB / 0.7199 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/1.227, allocations: 0 / 0.7199 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006943/1.234, allocations: 1.289 MB / 0.7212 GB, free: 9.121 MB / 0.5294 GB 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.0009442/1.235, allocations: 238 kB / 0.7214 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009399/1.244, allocations: 4.953 MB / 0.7263 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/1.244, allocations: 5.5 kB / 0.7263 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004812/1.249, allocations: 2.258 MB / 0.7285 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006055/1.255, allocations: 0.9789 MB / 0.7294 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03089/1.286, allocations: 12.49 MB / 0.7416 GB, free: 3.926 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2459/1.532, allocations: 4.376 MB / 0.7459 GB, free: 188.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/1.533, allocations: 331.4 kB / 0.7462 GB, free: 188.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.303e-06/1.533, allocations: 0 / 0.7462 GB, free: 188.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1713/1.705, allocations: 201.8 MB / 0.9433 GB, free: 9.574 MB / 0.545 GB [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches