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.001348/0.001348, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001472/0.001472, allocations: 204.7 kB / 23.72 MB, free: 4.391 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.571/1.571, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.001977/0.001977, allocations: 67.88 kB / 378.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2957, allocations: 53.41 MB / 431.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03685/0.3325, allocations: 26.62 MB / 458.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02371/0.3562, allocations: 8.561 MB / 466.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007243/0.3635, allocations: 226.9 kB / 467.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01444/0.3779, allocations: 4.648 MB / 471.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01243/0.3903, allocations: 3.054 MB / 474.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00733/0.3977, allocations: 1.584 MB / 476.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01691/0.4146, allocations: 8.856 MB / 485.2 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02174/0.4363, allocations: 9.09 MB / 494.3 MB, free: 7.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.4463, allocations: 4.343 MB / 498.7 MB, free: 3.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009504/0.4558, allocations: 4.62 MB / 0.4915 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004174/0.46, allocations: 1.164 MB / 0.4926 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006262/0.4663, allocations: 1.519 MB / 0.4941 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004945/0.4712, allocations: 2.415 MB / 0.4965 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009129/0.4803, allocations: 3.665 MB / 0.5 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02319/0.5035, allocations: 15.94 MB / 0.5156 GB, free: 5.848 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5035, allocations: 0 / 0.5156 GB, free: 5.848 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5035, allocations: 0 / 0.5156 GB, free: 5.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004715/0.504, allocations: 4 kB / 0.5156 GB, free: 5.844 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.03375/0.5378, allocations: 9.877 MB / 0.5252 GB, free: 11.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5378, allocations: 8.031 kB / 0.5253 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03046/0.5683, allocations: 5.224 MB / 0.5304 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01563/0.5839, allocations: 5.117 MB / 0.5354 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007246/0.5846, allocations: 0.526 MB / 0.5359 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003628/0.5882, allocations: 0.7069 MB / 0.5366 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2672/0.8555, allocations: 11.58 MB / 0.5479 GB, free: 88.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002245/0.8557, allocations: 21.86 kB / 0.5479 GB, free: 88.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001086/0.8568, allocations: 290.3 kB / 0.5482 GB, free: 88.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003969/0.8572, allocations: 452.2 kB / 0.5486 GB, free: 88.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/0.8759, allocations: 10.81 MB / 0.5592 GB, free: 80.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04303/0.919, allocations: 32.7 MB / 0.5911 GB, free: 47.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.9295, allocations: 7.425 MB / 0.5983 GB, free: 41.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003212/0.9328, allocations: 2.436 MB / 0.6007 GB, free: 39.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.9446, allocations: 6.9 MB / 0.6075 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.9446, allocations: 67.45 kB / 0.6075 GB, free: 32.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 5.179e-06/0.9447, allocations: 0 / 0.6075 GB, free: 32.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01787/0.9625, allocations: 10.28 MB / 0.6176 GB, free: 22.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0015/0.964, allocations: 1.863 MB / 0.6194 GB, free: 20.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/0.9684, allocations: 3.639 MB / 0.6229 GB, free: 16.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003061/0.9687, allocations: 61.7 kB / 0.623 GB, free: 16.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.9701, allocations: 3.694 MB / 0.6266 GB, free: 13.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006347/0.9708, allocations: 0.8749 MB / 0.6275 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/0.9718, allocations: 0.9653 MB / 0.6284 GB, free: 11.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.182e-05/0.9719, allocations: 305.1 kB / 0.6287 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.9741, allocations: 1.895 MB / 0.6305 GB, free: 9.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/0.9771, allocations: 4.446 MB / 0.6349 GB, free: 3.477 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007289/0.9844, allocations: 6.8 MB / 0.6415 GB, free: 11.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.366e-05/0.9844, allocations: 28 kB / 0.6416 GB, free: 11.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01208/0.9965, allocations: 6.966 MB / 0.6484 GB, free: 4.453 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/0.9966, allocations: 41 kB / 0.6484 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.9967, allocations: 88 kB / 0.6485 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/0.9988, allocations: 0.7485 MB / 0.6492 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/1.003, allocations: 1.119 MB / 0.6503 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008215/1.011, allocations: 5.413 MB / 0.6556 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004303/1.015, allocations: 315.3 kB / 0.6559 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009306/1.016, allocations: 276 kB / 0.6561 GB, free: 12.36 MB / 478.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.005687/1.022, allocations: 2.526 MB / 0.6586 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/1.023, allocations: 377.6 kB / 0.659 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008201/1.031, allocations: 4.226 MB / 0.6631 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/1.031, allocations: 31.94 kB / 0.6631 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/1.031, allocations: 8 kB / 0.6631 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.468e-05/1.031, allocations: 11.95 kB / 0.6632 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/1.055, allocations: 12.67 MB / 0.6755 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.055, allocations: 12 kB / 0.6755 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.057, allocations: 483.2 kB / 0.676 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/1.059, allocations: 0.6897 MB / 0.6767 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/1.059, allocations: 79.97 kB / 0.6768 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/1.069, allocations: 7.113 MB / 0.6837 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001898/1.071, allocations: 1.803 MB / 0.6855 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/1.083, allocations: 6.737 MB / 0.692 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/1.085, allocations: 0.7238 MB / 0.6927 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007032/1.086, allocations: 63.98 kB / 0.6928 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.088, allocations: 159.8 kB / 0.693 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/1.088, allocations: 237.2 kB / 0.6932 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/1.088, allocations: 95.97 kB / 0.6933 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004248/1.093, allocations: 2.276 MB / 0.6955 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.093, allocations: 0 / 0.6955 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00639/1.099, allocations: 1.293 MB / 0.6968 GB, free: 1.949 MB / 0.4981 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.0007872/1.1, allocations: 228.4 kB / 0.697 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009073/1.109, allocations: 4.821 MB / 0.7017 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.109, allocations: 0 / 0.7017 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004065/1.113, allocations: 2.189 MB / 0.7038 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00455/1.117, allocations: 0.872 MB / 0.7047 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/1.14, allocations: 12.52 MB / 0.7169 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005108/1.145, allocations: 4.016 MB / 0.7208 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004002/1.149, allocations: 1.33 MB / 0.7221 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008653/1.15, allocations: 291.4 kB / 0.7224 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of SimCode: time 1.162e-06/1.15, allocations: 3.938 kB / 0.7224 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.3185/1.468, allocations: 56.22 MB / 0.7773 GB, free: 170 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.514226956292987]