Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001301/0.001301, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001551/0.001551, allocations: 213.6 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.83 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2477, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03555/0.2832, allocations: 31.17 MB / 461 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02104/0.3043, allocations: 8.927 MB / 469.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007693/0.3119, allocations: 187.5 kB / 470.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01565/0.3276, allocations: 4.995 MB / 475.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0163/0.3439, allocations: 3.065 MB / 478.2 MB, free: 7.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007114/0.351, allocations: 1.64 MB / 479.8 MB, free: 5.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01543/0.3664, allocations: 8.829 MB / 488.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01535/0.3818, allocations: 8.392 MB / 497 MB, free: 4.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007084/0.3889, allocations: 4.261 MB / 0.4895 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007872/0.3967, allocations: 4.893 MB / 0.4943 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003093/0.3998, allocations: 1.164 MB / 0.4955 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/0.4042, allocations: 1.546 MB / 0.497 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003249/0.4074, allocations: 2.415 MB / 0.4993 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007755/0.4152, allocations: 4.684 MB / 0.5039 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02147/0.4367, allocations: 15.88 MB / 0.5194 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4367, allocations: 0 / 0.5194 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.4367, allocations: 0 / 0.5194 GB, free: 1.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004096/0.4371, allocations: 4 kB / 0.5194 GB, free: 1.074 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.03269/0.4698, allocations: 9.971 MB / 0.5292 GB, free: 6.992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4698, allocations: 8.031 kB / 0.5292 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03006/0.4999, allocations: 5.224 MB / 0.5343 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2156/0.7155, allocations: 5.136 MB / 0.5393 GB, free: 89.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004174/0.7159, allocations: 0.5394 MB / 0.5398 GB, free: 89.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002274/0.7182, allocations: 0.7065 MB / 0.5405 GB, free: 89.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/0.7398, allocations: 11.35 MB / 0.5516 GB, free: 84.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002406/0.74, allocations: 22.27 kB / 0.5516 GB, free: 84.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001225/0.7412, allocations: 299.2 kB / 0.5519 GB, free: 84.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000335/0.7416, allocations: 445.2 kB / 0.5523 GB, free: 84.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.7603, allocations: 10.88 MB / 0.5629 GB, free: 77.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05203/0.8123, allocations: 38.58 MB / 0.6006 GB, free: 38.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/0.8273, allocations: 27.99 MB / 0.6279 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004175/0.8315, allocations: 2.448 MB / 0.6303 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01539/0.8469, allocations: 8.472 MB / 0.6386 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/0.847, allocations: 56.5 kB / 0.6386 GB, free: 11.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 4.488e-06/0.847, allocations: 0 / 0.6386 GB, free: 11.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=233): time 0.02361/0.8706, allocations: 10.47 MB / 0.6489 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002314/0.8729, allocations: 1.999 MB / 0.6508 GB, free: 14.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007007/0.8799, allocations: 3.851 MB / 0.6546 GB, free: 10.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004193/0.8803, allocations: 61.7 kB / 0.6546 GB, free: 10.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003055/0.8834, allocations: 3.686 MB / 0.6582 GB, free: 7.008 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/0.8845, allocations: 0.8606 MB / 0.6591 GB, free: 6.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/0.8864, allocations: 0.9692 MB / 0.66 GB, free: 5.176 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8866, allocations: 305.1 kB / 0.6603 GB, free: 4.875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/0.8898, allocations: 1.895 MB / 0.6622 GB, free: 2.973 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005488/0.8953, allocations: 4.399 MB / 0.6665 GB, free: 13.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009263/0.9045, allocations: 6.801 MB / 0.6731 GB, free: 5.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.059e-05/0.9046, allocations: 24 kB / 0.6731 GB, free: 5.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01429/0.9189, allocations: 7.003 MB / 0.68 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.919, allocations: 44 kB / 0.68 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001823/0.9192, allocations: 87.94 kB / 0.6801 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/0.9214, allocations: 0.7374 MB / 0.6808 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/0.9255, allocations: 1.131 MB / 0.6819 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008521/0.934, allocations: 5.64 MB / 0.6874 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/0.9383, allocations: 315.4 kB / 0.6877 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009193/0.9392, allocations: 276 kB / 0.688 GB, free: 5.926 MB / 0.4981 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.005272/0.9445, allocations: 2.526 MB / 0.6905 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/0.9458, allocations: 405.4 kB / 0.6908 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009134/0.955, allocations: 4.255 MB / 0.695 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.955, allocations: 24 kB / 0.695 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.955, allocations: 4 kB / 0.695 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/0.955, allocations: 15.89 kB / 0.695 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03011/0.9851, allocations: 14.31 MB / 0.709 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/0.9852, allocations: 12 kB / 0.709 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/0.9872, allocations: 483.2 kB / 0.7095 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/0.9893, allocations: 0.6861 MB / 0.7102 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003354/0.9897, allocations: 75.97 kB / 0.7102 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/1, allocations: 7.495 MB / 0.7176 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002044/1.002, allocations: 1.961 MB / 0.7195 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/1.014, allocations: 6.754 MB / 0.7261 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/1.017, allocations: 0.8262 MB / 0.7269 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/1.018, allocations: 59.94 kB / 0.7269 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/1.02, allocations: 160.2 kB / 0.7271 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/1.021, allocations: 221.5 kB / 0.7273 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.021, allocations: 95.97 kB / 0.7274 GB, free: 12.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004564/1.025, allocations: 2.522 MB / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.025, allocations: 0 / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005838/1.031, allocations: 1.297 MB / 0.7311 GB, free: 8.77 MB / 0.545 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.0007328/1.032, allocations: 238.7 kB / 0.7313 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009208/1.041, allocations: 4.974 MB / 0.7362 GB, free: 3.504 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.041, allocations: 4 kB / 0.7362 GB, free: 3.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00441/1.046, allocations: 2.248 MB / 0.7384 GB, free: 1.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005826/1.051, allocations: 1.008 MB / 0.7394 GB, free: 232 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2688/1.32, allocations: 12.57 MB / 0.7517 GB, free: 183.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004503/1.325, allocations: 4.502 MB / 0.7561 GB, free: 181.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003685/1.328, allocations: 1.361 MB / 0.7574 GB, free: 181.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008246/1.329, allocations: 312.7 kB / 0.7577 GB, free: 181.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.814e-06/1.329, allocations: 0 / 0.7577 GB, free: 181.8 MB / 0.545 GB Notification: Performance of Templates: time 0.08235/1.412, allocations: 56.05 MB / 0.8124 GB, free: 135.1 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.503322707489133]