Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00171/0.00171, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001955, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.89 kB / 374.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1043, allocations: 53.3 MB / 428.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2114/0.3156, allocations: 31.11 MB / 459.2 MB, free: 7.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0206/0.3362, allocations: 8.916 MB / 468.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006689/0.3429, allocations: 190.8 kB / 468.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01353/0.3564, allocations: 5 MB / 473.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.3671, allocations: 3.051 MB / 476.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005226/0.3724, allocations: 1.646 MB / 478 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01363/0.386, allocations: 8.804 MB / 486.8 MB, free: 4.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01613/0.4021, allocations: 9.951 MB / 496.7 MB, free: 11.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007437/0.4096, allocations: 4.254 MB / 0.4893 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008336/0.4179, allocations: 4.882 MB / 0.494 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002708/0.4206, allocations: 1.164 MB / 0.4952 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004608/0.4252, allocations: 1.546 MB / 0.4967 GB, free: 96 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002802/0.428, allocations: 2.423 MB / 0.499 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007406/0.4354, allocations: 4.68 MB / 0.5036 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02031/0.4557, allocations: 15.89 MB / 0.5191 GB, free: 9.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.391e-06/0.4557, allocations: 0 / 0.5191 GB, free: 9.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4557, allocations: 0 / 0.5191 GB, free: 9.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000355/0.4561, allocations: 0 / 0.5191 GB, free: 9.031 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.02863/0.4847, allocations: 9.975 MB / 0.5289 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4848, allocations: 12.03 kB / 0.5289 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0297/0.5145, allocations: 5.224 MB / 0.534 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.5261, allocations: 5.138 MB / 0.539 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006368/0.5267, allocations: 0.5338 MB / 0.5395 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002689/0.5294, allocations: 0.7068 MB / 0.5402 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02779/0.5572, allocations: 11.35 MB / 0.5513 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003203/0.5575, allocations: 15.89 kB / 0.5513 GB, free: 7.793 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001972/0.5595, allocations: 300 kB / 0.5516 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005622/0.56, allocations: 446.9 kB / 0.552 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02347/0.5835, allocations: 10.86 MB / 0.5626 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07149/0.655, allocations: 38.58 MB / 0.6003 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2321/0.8871, allocations: 28 MB / 0.6276 GB, free: 143.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004228/0.8913, allocations: 2.446 MB / 0.63 GB, free: 143 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/0.9048, allocations: 8.461 MB / 0.6383 GB, free: 139.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.9048, allocations: 61.44 kB / 0.6384 GB, free: 139.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=217): time 4.619e-06/0.9048, allocations: 0 / 0.6384 GB, free: 139.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=233): time 0.0209/0.9257, allocations: 10.47 MB / 0.6486 GB, free: 135.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001727/0.9275, allocations: 2.009 MB / 0.6505 GB, free: 133.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005702/0.9332, allocations: 3.84 MB / 0.6543 GB, free: 132.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003737/0.9335, allocations: 66.23 kB / 0.6544 GB, free: 132.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/0.9354, allocations: 3.684 MB / 0.658 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007987/0.9362, allocations: 0.8658 MB / 0.6588 GB, free: 128.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/0.9375, allocations: 0.9684 MB / 0.6597 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.325e-05/0.9375, allocations: 305 kB / 0.66 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/0.9401, allocations: 1.897 MB / 0.6619 GB, free: 127.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/0.9434, allocations: 4.394 MB / 0.6662 GB, free: 123.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006466/0.9499, allocations: 6.797 MB / 0.6728 GB, free: 117.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.882e-05/0.95, allocations: 29.38 kB / 0.6728 GB, free: 117.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01062/0.9606, allocations: 6.994 MB / 0.6797 GB, free: 115 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.9607, allocations: 41.59 kB / 0.6797 GB, free: 115 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/0.9608, allocations: 85.81 kB / 0.6798 GB, free: 115 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001788/0.9626, allocations: 0.7403 MB / 0.6805 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/0.966, allocations: 1.125 MB / 0.6816 GB, free: 114.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006071/0.972, allocations: 5.639 MB / 0.6871 GB, free: 111.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00445/0.9765, allocations: 322 kB / 0.6874 GB, free: 111.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007821/0.9773, allocations: 275.8 kB / 0.6877 GB, free: 110.8 MB / 0.5137 GB 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.005162/0.9824, allocations: 2.523 MB / 0.6902 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/0.9837, allocations: 413 kB / 0.6906 GB, free: 108.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006614/0.9904, allocations: 4.248 MB / 0.6947 GB, free: 104.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.9904, allocations: 24 kB / 0.6947 GB, free: 104.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.9904, allocations: 8 kB / 0.6947 GB, free: 104.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.9904, allocations: 15.89 kB / 0.6947 GB, free: 104.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/1.01, allocations: 14.3 MB / 0.7087 GB, free: 89.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.01, allocations: 16.81 kB / 0.7087 GB, free: 89.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.011, allocations: 483.2 kB / 0.7092 GB, free: 89.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/1.013, allocations: 0.699 MB / 0.7099 GB, free: 88.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/1.013, allocations: 67.98 kB / 0.7099 GB, free: 88.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006955/1.02, allocations: 7.508 MB / 0.7173 GB, free: 80.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001215/1.021, allocations: 1.947 MB / 0.7192 GB, free: 78.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008022/1.029, allocations: 6.761 MB / 0.7258 GB, free: 71.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/1.031, allocations: 0.8184 MB / 0.7266 GB, free: 70.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005209/1.032, allocations: 60.86 kB / 0.7266 GB, free: 70.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.033, allocations: 163.9 kB / 0.7268 GB, free: 70.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/1.034, allocations: 226.5 kB / 0.727 GB, free: 70.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.034, allocations: 95.97 kB / 0.7271 GB, free: 70.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002933/1.037, allocations: 2.518 MB / 0.7296 GB, free: 67.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.037, allocations: 0 / 0.7296 GB, free: 67.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00426/1.041, allocations: 1.297 MB / 0.7308 GB, free: 66.27 MB / 0.5137 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.0004194/1.041, allocations: 238.1 kB / 0.731 GB, free: 66.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006328/1.048, allocations: 4.977 MB / 0.7359 GB, free: 61.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.048, allocations: 0.8438 kB / 0.7359 GB, free: 61.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002884/1.051, allocations: 2.268 MB / 0.7381 GB, free: 58.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/1.055, allocations: 0.9986 MB / 0.7391 GB, free: 57.74 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/1.072, allocations: 12.4 MB / 0.7512 GB, free: 45.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003121/1.075, allocations: 4.383 MB / 0.7555 GB, free: 40.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.076, allocations: 351.4 kB / 0.7558 GB, free: 40.38 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/1.076, allocations: 0 / 0.7558 GB, free: 40.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.3779/1.454, allocations: 203.3 MB / 0.9544 GB, free: 73.65 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 15.934738890035078]