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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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.001603/0.001603, allocations: 43.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2582, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03459/0.2928, allocations: 30.55 MB / 451.4 MB, free: 456 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0179/0.3107, allocations: 8.666 MB / 460.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00516/0.3159, allocations: 187.4 kB / 460.3 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01212/0.328, allocations: 4.988 MB / 465.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009006/0.337, allocations: 3.054 MB / 468.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00479/0.3418, allocations: 1.639 MB / 470 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0122/0.354, allocations: 8.719 MB / 478.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01333/0.3673, allocations: 8.397 MB / 487.1 MB, free: 12.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006198/0.3735, allocations: 4.25 MB / 491.3 MB, free: 8.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007589/0.3811, allocations: 4.796 MB / 496.1 MB, free: 3.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002988/0.3841, allocations: 1.164 MB / 497.3 MB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004563/0.3887, allocations: 1.531 MB / 498.8 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003444/0.3921, allocations: 2.415 MB / 0.4895 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007627/0.3997, allocations: 4.669 MB / 0.4941 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01951/0.4192, allocations: 15.85 MB / 0.5095 GB, free: 9.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.4192, allocations: 0 / 0.5095 GB, free: 9.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4192, allocations: 0 / 0.5095 GB, free: 9.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003494/0.4196, allocations: 4 kB / 0.5095 GB, free: 9.848 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.02778/0.4474, allocations: 9.929 MB / 0.5192 GB, free: 15.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4474, allocations: 8.031 kB / 0.5192 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02912/0.4765, allocations: 5.31 MB / 0.5244 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.4876, allocations: 5.13 MB / 0.5294 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005285/0.4881, allocations: 0.5338 MB / 0.5299 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002617/0.4908, allocations: 0.7069 MB / 0.5306 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2207/0.7115, allocations: 11.32 MB / 0.5417 GB, free: 93.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002035/0.7117, allocations: 11.31 kB / 0.5417 GB, free: 93.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000834/0.7125, allocations: 294.9 kB / 0.542 GB, free: 93.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003396/0.7129, allocations: 449.3 kB / 0.5424 GB, free: 93.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01947/0.7323, allocations: 10.83 MB / 0.553 GB, free: 89.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05087/0.7832, allocations: 37.67 MB / 0.5898 GB, free: 54.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/0.7963, allocations: 27.79 MB / 0.6169 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003691/0.8, allocations: 2.428 MB / 0.6193 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.8114, allocations: 7.896 MB / 0.627 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.8114, allocations: 64.5 kB / 0.6271 GB, free: 12.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 3.757e-06/0.8114, allocations: 0 / 0.6271 GB, free: 12.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01632/0.8277, allocations: 10.43 MB / 0.6373 GB, free: 2.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001519/0.8292, allocations: 2.012 MB / 0.6392 GB, free: 15.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005908/0.8352, allocations: 3.824 MB / 0.643 GB, free: 12.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.8355, allocations: 65.7 kB / 0.643 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002814/0.8383, allocations: 3.675 MB / 0.6466 GB, free: 8.422 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.8393, allocations: 0.8633 MB / 0.6474 GB, free: 7.566 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/0.841, allocations: 0.9652 MB / 0.6484 GB, free: 6.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8411, allocations: 305.2 kB / 0.6487 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/0.8441, allocations: 1.895 MB / 0.6505 GB, free: 4.387 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004901/0.849, allocations: 4.381 MB / 0.6548 GB, free: 14.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008735/0.8578, allocations: 6.791 MB / 0.6614 GB, free: 6.777 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.129e-05/0.8578, allocations: 28 kB / 0.6615 GB, free: 6.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01269/0.8705, allocations: 6.981 MB / 0.6683 GB, free: 15.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.419e-05/0.8706, allocations: 45 kB / 0.6683 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/0.8707, allocations: 84 kB / 0.6684 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.8727, allocations: 0.7387 MB / 0.6691 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/0.8763, allocations: 1.123 MB / 0.6702 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008004/0.8844, allocations: 5.645 MB / 0.6757 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/0.8878, allocations: 315.5 kB / 0.676 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000414/0.8883, allocations: 272 kB / 0.6763 GB, free: 7.395 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.004135/0.8924, allocations: 2.522 MB / 0.6788 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/0.8932, allocations: 413.5 kB / 0.6792 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007568/0.9007, allocations: 4.247 MB / 0.6833 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.9008, allocations: 24 kB / 0.6833 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.9008, allocations: 4 kB / 0.6833 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.9008, allocations: 11.95 kB / 0.6833 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02288/0.9237, allocations: 14.26 MB / 0.6973 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.9237, allocations: 15.92 kB / 0.6973 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/0.9256, allocations: 479.2 kB / 0.6977 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.9276, allocations: 0.7012 MB / 0.6984 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/0.9278, allocations: 63.98 kB / 0.6985 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.9379, allocations: 7.497 MB / 0.7058 GB, free: 8.652 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001957/0.9398, allocations: 1.967 MB / 0.7077 GB, free: 6.531 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.9504, allocations: 6.74 MB / 0.7143 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/0.9524, allocations: 0.8145 MB / 0.7151 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/0.9529, allocations: 63.98 kB / 0.7152 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/0.9546, allocations: 159.8 kB / 0.7153 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004541/0.955, allocations: 233.3 kB / 0.7155 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/0.9552, allocations: 83.98 kB / 0.7156 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003867/0.9591, allocations: 2.513 MB / 0.7181 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9591, allocations: 0 / 0.7181 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004369/0.9634, allocations: 1.289 MB / 0.7193 GB, free: 10.37 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.0004622/0.9639, allocations: 235.2 kB / 0.7196 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008342/0.9722, allocations: 4.954 MB / 0.7244 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.9722, allocations: 4 kB / 0.7244 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003746/0.976, allocations: 2.258 MB / 0.7266 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/0.9804, allocations: 0.9895 MB / 0.7276 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/1.001, allocations: 12.6 MB / 0.7399 GB, free: 5.066 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005009/1.006, allocations: 4.496 MB / 0.7443 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.206/1.212, allocations: 1.356 MB / 0.7456 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.213, allocations: 296.1 kB / 0.7459 GB, free: 187.4 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.213, allocations: 0 / 0.7459 GB, free: 187.4 MB / 0.545 GB Notification: Performance of Templates: time 0.08063/1.294, allocations: 55.5 MB / 0.8001 GB, free: 153.2 MB / 0.545 GB " [Timeout remaining time 659] 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/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","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 7.117469131946564]